Changeset 42789 in vbox for trunk/src/VBox/Main/src-server/MachineImpl.cpp
- Timestamp:
- Aug 13, 2012 10:03:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r42788 r42789 5944 5944 5945 5945 { 5946 /* find all attached devices to the appropriate storage controller and detach them all*/ 5947 MediaData::AttachmentList::const_iterator it = mMediaData->mAttachments.begin(); 5948 5949 uint16_t howManyAttach = mMediaData->mAttachments.size(); 5950 5951 for (uint16_t i=0;i<howManyAttach; ++i) 5952 { 5953 MediumAttachment *pAttachTemp = *it++; 5946 /* find all attached devices to the appropriate storage controller and detach them all */ 5947 size_t howManyAttach = mMediaData->mAttachments.size(); 5948 5949 for (size_t i = 0; i < howManyAttach; ++i) 5950 { 5951 MediumAttachment *pAttachTemp = mMediaData->mAttachments.front(); 5954 5952 5955 5953 AutoCaller localAutoCaller(pAttachTemp);
Note:
See TracChangeset
for help on using the changeset viewer.