VirtualBox

Changeset 72823 in vbox for trunk


Ignore:
Timestamp:
Jul 3, 2018 2:31:50 PM (6 years ago)
Author:
vboxsync
Message:

VBoxManage: test for empty() instead of size() == 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageAppliance.cpp

    r72476 r72823  
    11741174            break;
    11751175
    1176         if (llMachines.size() == 0)
     1176        if (llMachines.empty())
    11771177            return errorSyntax(USAGE_EXPORTAPPLIANCE, "At least one machine must be specified with the export command.");
    11781178        if (!strOutputFile.length())
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