Changeset 24654 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Nov 14, 2009 8:50:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/VirtualBoxBase.h
r23636 r24654 2269 2269 AssertMsg(data, ("data to copy must not be NULL")); 2270 2270 if (data) 2271 attach(new D 2271 attach(new D(*data)); 2272 2272 } 2273 2273 … … 2346 2346 if (this->mData && !mBackupData) 2347 2347 { 2348 D *pNewData = new D(*this->mData) 2348 2349 mBackupData = this->mData; 2349 this->mData = new D(*mBackupData);2350 this->mData = pNewData; 2350 2351 } 2351 2352 } … … 2417 2418 if (!mBackupData) 2418 2419 { 2420 D *pNewData = new D(*data) 2419 2421 mBackupData = this->mData; 2420 this->mData = new D (*data);2422 this->mData = pNewData; 2421 2423 } 2422 2424 else
Note:
See TracChangeset
for help on using the changeset viewer.