Changeset 45417 in vbox for trunk/src/VBox/HostServices/GuestControl/service.cpp
- Timestamp:
- Apr 8, 2013 10:02:14 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/service.cpp
r45416 r45417 493 493 HostCmdListIter curItem = mHostCmdList.begin(); 494 494 while (curItem != mHostCmdList.end()) 495 Dequeue(curItem++);495 curItem = Dequeue(curItem); 496 496 } 497 497 … … 503 503 } 504 504 505 voidDequeue(HostCmdListIter &curItem)505 HostCmdListIter Dequeue(HostCmdListIter &curItem) 506 506 { 507 507 HostCommand *pHostCmd = (*curItem); … … 517 517 } 518 518 519 mHostCmdList.erase(curItem);519 HostCmdListIter nextItem = mHostCmdList.erase(curItem); 520 520 521 521 /* Reset everything else. */ 522 522 mHostCmdRc = VINF_SUCCESS; 523 523 mHostCmdTries = 0; 524 525 return nextItem; 524 526 } 525 527
Note:
See TracChangeset
for help on using the changeset viewer.