Changeset 16091 for trunk


Ignore:
Timestamp:
05/23/13 19:10:39 (11 years ago)
Author:
tbretz
Message:
Replaced size() by empty() where possible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Configuration.cc

    r15001 r16091  
    759759void Configuration::PrintUnknown() const
    760760{
    761     if (fUnknownCommandline.size())
     761    if (!fUnknownCommandline.empty())
    762762    {
    763763        cout << "Unknown commandline options:" << endl;
     
    765765    }
    766766
    767     if (fUnknownConfigfile.size())
     767    if (!fUnknownConfigfile.empty())
    768768    {
    769769        cout << "Unknown options in configfile:" << endl;
     
    771771    }
    772772
    773     if (fUnknownEnvironment.size())
     773    if (!fUnknownEnvironment.empty())
    774774    {
    775775        cout << "Unknown environment variables:" << endl;
     
    777777    }
    778778
    779     if (fUnknownDatabase.size())
     779    if (!fUnknownDatabase.empty())
    780780    {
    781781        cout << "Unknown database entry:" << endl;
Note: See TracChangeset for help on using the changeset viewer.