VirtualBox

Ignore:
Timestamp:
May 22, 2015 2:06:29 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100548
Message:

postfix iterator => prefix iterator and stlSize => stlEmpty where appropriate

File:
1 edited

Legend:

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

    r50825 r56030  
    701701                }
    702702
    703                 curItem++;
     703                ++curItem;
    704704            }
    705705        }
     
    10841084    }
    10851085
    1086     bool fAllClientsDisconnected = mClientStateMap.size() == 0;
     1086    bool fAllClientsDisconnected = mClientStateMap.empty();
    10871087    if (fAllClientsDisconnected)
    10881088    {
     
    13391339     * the guest is not running/system is messed up somehow.
    13401340     */
    1341     if (mClientStateMap.size() == 0)
     1341    if (mClientStateMap.empty())
    13421342        return VERR_NOT_FOUND;
    13431343
     
    13901390            }
    13911391
    1392             itClientState++;
     1392            ++itClientState;
    13931393        }
    13941394
     
    15291529                        LogFlowFunc(("Cancelling waiting for client ID=%RU32 failed with rc=%Rrc",
    15301530                                     itClientState->first, rc2));
    1531                     itClientState++;
     1531                    ++itClientState;
    15321532                }
    15331533                rc = VINF_SUCCESS;
Note: See TracChangeset for help on using the changeset viewer.

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