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

Legend:

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

    r14053 r16096  
    151151void DimServiceInfoList::RemoveAllServers()
    152152{
    153     while (fServiceInfoList.size()>0)
     153    while (!fServiceInfoList.empty())
    154154        RemoveServer(fServiceInfoList.begin()->first);
    155155}
     
    606606        const vector<State> &v = i->second.third;
    607607
    608         if (v.size()==0)
     608        if (v.empty())
    609609            out << "   <no states>" << endl;
    610610        else
Note: See TracChangeset for help on using the changeset viewer.