Changeset 25194 in vbox for trunk/src/VBox/Main/SnapshotImpl.cpp
- Timestamp:
- Dec 4, 2009 3:59:34 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SnapshotImpl.cpp
r25152 r25194 884 884 885 885 unconst(mUSBController).createObject(); 886 mUSBController->init Copy(this, mPeer->mUSBController);887 888 for (ULONG slot = 0; slot < RT_ELEMENTS (mNetworkAdapters); slot 889 { 890 unconst(mNetworkAdapters 891 mNetworkAdapters 892 } 893 894 for (ULONG slot = 0; slot < RT_ELEMENTS (mSerialPorts); slot 886 mUSBController->init(this, mPeer->mUSBController); 887 888 for (ULONG slot = 0; slot < RT_ELEMENTS (mNetworkAdapters); slot++) 889 { 890 unconst(mNetworkAdapters[slot]).createObject(); 891 mNetworkAdapters[slot]->initCopy (this, mPeer->mNetworkAdapters [slot]); 892 } 893 894 for (ULONG slot = 0; slot < RT_ELEMENTS (mSerialPorts); slot++) 895 895 { 896 896 unconst(mSerialPorts [slot]).createObject(); 897 mSerialPorts [slot]->initCopy (this, mPeer->mSerialPorts[slot]);898 } 899 900 for (ULONG slot = 0; slot < RT_ELEMENTS (mParallelPorts); slot 901 { 902 unconst(mParallelPorts 903 mParallelPorts [slot]->initCopy (this, mPeer->mParallelPorts[slot]);897 mSerialPorts[slot]->initCopy (this, mPeer->mSerialPorts[slot]); 898 } 899 900 for (ULONG slot = 0; slot < RT_ELEMENTS (mParallelPorts); slot++) 901 { 902 unconst(mParallelPorts[slot]).createObject(); 903 mParallelPorts[slot]->initCopy (this, mPeer->mParallelPorts[slot]); 904 904 } 905 905
Note:
See TracChangeset
for help on using the changeset viewer.