Changeset 30764 in vbox for trunk/src/VBox/Main/SnapshotImpl.cpp
- Timestamp:
- Jul 9, 2010 2:12:12 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63552
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SnapshotImpl.cpp
r30760 r30764 21 21 #include "SnapshotImpl.h" 22 22 23 #include "MachineImpl.h" 24 #include "MediumImpl.h" 25 #include "MediumFormatImpl.h" 23 26 #include "Global.h" 24 25 #include "AudioAdapterImpl.h"26 #include "BIOSSettingsImpl.h"27 #include "MachineImplPrivate.h"28 #include "MediumImpl.h"29 #include "MediumAttachmentImpl.h"30 #include "MediumFormatImpl.h"31 #include "NetworkAdapterImpl.h"32 #include "ParallelPortImpl.h"33 27 #include "ProgressImpl.h" 34 #include "SerialPortImpl.h"35 #include "StorageControllerImpl.h"36 #include "VRDPServerImpl.h"37 28 38 29 // @todo these three includes are required for about one or two lines, try … … 44 35 #include "AutoCaller.h" 45 36 46 #include <iprt/file.h>47 37 #include <iprt/path.h> 48 38 #include <iprt/cpp/utils.h> … … 50 40 #include <VBox/param.h> 51 41 #include <VBox/err.h> 52 53 #include <VBox/com/array.h>54 42 55 43 #include <VBox/settings.h> … … 908 896 /* associate hard disks with the snapshot 909 897 * (Machine::uninitDataAndChildObjects() will deassociate at destruction) */ 910 for (Medi umAttachmentsList::const_iterator it = mMediaData->mAttachments.begin();898 for (MediaData::AttachmentList::const_iterator it = mMediaData->mAttachments.begin(); 911 899 it != mMediaData->mAttachments.end(); 912 900 ++it) … … 1607 1595 ULONG ulOpCount = 1; // one for preparations 1608 1596 ULONG ulTotalWeight = 1; // one for preparations 1609 for (Medi umAttachmentsList::iterator it = pSnapMachine->mMediaData->mAttachments.begin();1597 for (MediaData::AttachmentList::iterator it = pSnapMachine->mMediaData->mAttachments.begin(); 1610 1598 it != pSnapMachine->mMediaData->mAttachments.end(); 1611 1599 ++it) … … 1837 1825 std::list< ComObjPtr<MediumAttachment> > llDiffAttachmentsToDelete; 1838 1826 1839 for (Medi umAttachmentsList::const_iterator it = mMediaData.backedUpData()->mAttachments.begin();1827 for (MediaData::AttachmentList::const_iterator it = mMediaData.backedUpData()->mAttachments.begin(); 1840 1828 it != mMediaData.backedUpData()->mAttachments.end(); 1841 1829 ++it) … … 2065 2053 2066 2054 // count normal hard disks and add their sizes to the weight 2067 for (Medi umAttachmentsList::iterator it = pSnapMachine->mMediaData->mAttachments.begin();2055 for (MediaData::AttachmentList::iterator it = pSnapMachine->mMediaData->mAttachments.begin(); 2068 2056 it != pSnapMachine->mMediaData->mAttachments.end(); 2069 2057 ++it) … … 2281 2269 // merge it with its one and only child (the diff image holding the 2282 2270 // changes written after the snapshot was taken). 2283 for (Medi umAttachmentsList::iterator it = pSnapMachine->mMediaData->mAttachments.begin();2271 for (MediaData::AttachmentList::iterator it = pSnapMachine->mMediaData->mAttachments.begin(); 2284 2272 it != pSnapMachine->mMediaData->mAttachments.end(); 2285 2273 ++it)
Note:
See TracChangeset
for help on using the changeset viewer.