Ignore:
Timestamp:
07/19/11 21:03:37 (13 years ago)
Author:
tbretz
Message:
Replaces ato/atof by stoi/stof; replaced boost::lexical_cast by to_string
File:
1 edited

Legend:

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

    r11303 r11479  
    115115            const Time timeout = ms<=0 ? Time(Time::none) : Time()+boost::posix_time::millisec(ms);
    116116
    117             const int target = atoi(str.c_str()+3);
     117            const int target = stoi(str.substr(3));
    118118            while (fStateMachine->GetCurrentState()!=target && timeout>Time())
    119119                usleep(1);
Note: See TracChangeset for help on using the changeset viewer.