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/Connection.cc

    r11478 r11479  
    1111#include "Connection.h"
    1212
    13 #include <boost/lexical_cast.hpp>
    14 
    1513using namespace std;
    1614
     
    1917namespace dummy = ba::placeholders;
    2018
    21 using boost::lexical_cast;
    2219using ba::ip::tcp;
    2320
     
    292289{
    293290    const string host = endpoint.port()==0 ? "" :
    294         endpoint.address().to_string()+":"+lexical_cast<string>(endpoint.port());
     291        endpoint.address().to_string()+':'+to_string((long long unsigned int)endpoint.port());
    295292
    296293    // Connection established
     
    434431
    435432    fAddress = addr;
    436     fPort    = lexical_cast<string>(port);
     433    fPort    = to_string((long long)port);
    437434}
    438435
Note: See TracChangeset for help on using the changeset viewer.