Changeset 16871 for trunk/FACT++/src


Ignore:
Timestamp:
06/19/13 17:10:12 (11 years ago)
Author:
tbretz
Message:
Use a to_string instead of an ostringstream for conversion
File:
1 edited

Legend:

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

    r16808 r16871  
    685685{
    686686    const StateNames::const_iterator i = fStateNames.find(state);
    687 
    688     ostringstream s;
    689     s << state;
    690     return i==fStateNames.end() || i->second.first.empty() ? s.str() : i->second.first;
     687    return i==fStateNames.end() || i->second.first.empty() ? to_string(state) : i->second.first;
    691688}
    692689
Note: See TracChangeset for help on using the changeset viewer.