Changeset 56030 in vbox for trunk/src/VBox/Frontends/VBoxAutostart
- Timestamp:
- May 22, 2015 2:06:29 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxAutostart
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostartStart.cpp
r43967 r56030 114 114 115 115 if ( SUCCEEDED(rc) 116 && listVM.size())116 && !listVM.empty()) 117 117 { 118 118 ULONG uDelayCurr = 0; … … 122 122 123 123 std::list<AUTOSTARTVM>::iterator it; 124 for (it = listVM.begin(); it != listVM.end(); it++)124 for (it = listVM.begin(); it != listVM.end(); ++it) 125 125 { 126 126 ComPtr<IMachine> machine; -
trunk/src/VBox/Frontends/VBoxAutostart/VBoxAutostartStop.cpp
r55214 r56030 147 147 148 148 if ( SUCCEEDED(rc) 149 && listVM.size())149 && !listVM.empty()) 150 150 { 151 151 std::list<AUTOSTOPVM>::iterator it; 152 for (it = listVM.begin(); it != listVM.end(); it++)152 for (it = listVM.begin(); it != listVM.end(); ++it) 153 153 { 154 154 MachineState_T enmMachineState;
Note:
See TracChangeset
for help on using the changeset viewer.