VirtualBox

Ignore:
Timestamp:
Apr 8, 2013 10:02:14 PM (12 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/GuestControl/service.cpp

    r45416 r45417  
    493493        HostCmdListIter curItem = mHostCmdList.begin();
    494494        while (curItem != mHostCmdList.end())
    495             Dequeue(curItem++);
     495            curItem = Dequeue(curItem);
    496496    }
    497497
     
    503503    }
    504504
    505     void Dequeue(HostCmdListIter &curItem)
     505    HostCmdListIter Dequeue(HostCmdListIter &curItem)
    506506    {
    507507        HostCommand *pHostCmd = (*curItem);
     
    517517        }
    518518
    519         mHostCmdList.erase(curItem);
     519        HostCmdListIter nextItem = mHostCmdList.erase(curItem);
    520520
    521521        /* Reset everything else. */
    522522        mHostCmdRc    = VINF_SUCCESS;
    523523        mHostCmdTries = 0;
     524
     525        return nextItem;
    524526    }
    525527
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette