Changeset 37096 in vbox
- Timestamp:
- May 16, 2011 9:28:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r36575 r37096 2583 2583 { 2584 2584 settings::AttachedDevicesList &llAttachments = it3->llAttachedDevices; 2585 settings::AttachedDevicesList::iterator it4; 2586 for (it4 = llAttachments.begin(); 2587 it4 != llAttachments.end(); 2588 ++it4) 2585 settings::AttachedDevicesList::iterator it4 = llAttachments.begin(); 2586 while (it4 != llAttachments.end()) 2589 2587 { 2590 2588 if ( ( !fDVD … … 2593 2591 ( !fFloppy 2594 2592 && it4->deviceType == DeviceType_Floppy)) 2595 llAttachments.erase(it4++); 2593 { 2594 it4 = llAttachments.erase(it4); 2595 continue; 2596 } 2596 2597 else if (it4->deviceType == DeviceType_HardDisk) 2597 2598 { … … 2613 2614 } 2614 2615 } 2616 ++it4; 2615 2617 } 2616 2618 }
Note:
See TracChangeset
for help on using the changeset viewer.