Changeset 16093 for trunk/FACT++/src


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

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/Main.h

    r15177 r16093  
    137137
    138138        const map<string,string> &args = conf.GetOptions<string>("arg:");
    139         if (args.size()>0)
     139        if (!args.empty())
    140140        {
    141141            io_service.Write(now, "------------------------ Arguments ----------------------", MessageImp::kMessage);
     
    161161
    162162        const map<string,string> &wco = conf.GetWildcardOptions();
    163         if (wco.size()>0)
     163        if (!wco.empty())
    164164        {
    165165            io_service.Write(now, "------------- Unrecognized wildcard options -------------", MessageImp::kWarn);
Note: See TracChangeset for help on using the changeset viewer.