Changeset 42216 in vbox for trunk/src/VBox
- Timestamp:
- Jul 18, 2012 6:09:54 PM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 79232
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestProcessImpl.h
r42214 r42216 115 115 RTSEMEVENT mEvent; 116 116 } mData; 117 118 friend GuestSession; /* Let's be friends! */119 117 }; 120 118 -
trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp
r42214 r42216 353 353 if (it != mData.mCallbacks.end()) 354 354 { 355 std::auto_ptr<GuestCtrlCallback>pCallback = it->second;356 AssertPtr(pCallback .get());355 GuestCtrlCallback *pCallback = it->second; 356 AssertPtr(pCallback); 357 357 358 358 int rc; … … 745 745 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 746 746 747 com::SafeArray<BYTE> data( aData);747 com::SafeArray<BYTE> data(ComSafeArrayInArg(aData)); 748 748 int rc = writeData(aHandle, data.raw(), data.size(), aTimeoutMS, aWritten); 749 749 /** @todo Do setError() here. */
Note:
See TracChangeset
for help on using the changeset viewer.