VirtualBox

Ignore:
Timestamp:
Jul 7, 2009 4:33:26 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49709
Message:

IPRT: hide ministring::operator bool() to force people to use isEmpty() explicitly

File:
1 edited

Legend:

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

    r20928 r21360  
    202202
    203203            case VINF_GETOPT_NOT_OPTION:
    204                 if (!strOvfFilename)
     204                if (strOvfFilename.isEmpty())
    205205                    strOvfFilename = ValueUnion.psz;
    206206                else
     
    225225    }
    226226
    227     if (!strOvfFilename)
     227    if (strOvfFilename.isEmpty())
    228228        return errorSyntax(USAGE_IMPORTAPPLIANCE, "Not enough arguments for \"import\" command.");
    229229
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