Changeset 11479 for trunk/FACT++/src/Connection.cc
- Timestamp:
- 07/19/11 21:03:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Connection.cc
r11478 r11479 11 11 #include "Connection.h" 12 12 13 #include <boost/lexical_cast.hpp>14 15 13 using namespace std; 16 14 … … 19 17 namespace dummy = ba::placeholders; 20 18 21 using boost::lexical_cast;22 19 using ba::ip::tcp; 23 20 … … 292 289 { 293 290 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()); 295 292 296 293 // Connection established … … 434 431 435 432 fAddress = addr; 436 fPort = lexical_cast<string>(port);433 fPort = to_string((long long)port); 437 434 } 438 435
Note:
See TracChangeset
for help on using the changeset viewer.