Changeset 20018
- Timestamp:
- 12/28/20 17:25:48 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Connection.cc
r20005 r20018 125 125 void Connection::PostClose(bool restart) 126 126 { 127 #if BOOST_VERSION < 107000 127 128 get_io_service().post(boost::bind(&Connection::CloseImp, this, restart)); 129 #else 130 ba::post(boost::bind(&Connection::CloseImp, this, restart)); 131 #endif 128 132 } 129 133 … … 385 389 else 386 390 { 391 #if BOOST_VERSION < 107000 387 392 tcp::resolver resolver(get_io_service()); 388 393 #else 394 tcp::resolver resolver(get_executor()); 395 #endif 389 396 tcp::resolver::query query(fAddress, fPort); 390 397 tcp::resolver::iterator iterator = resolver.resolve(query, ec);
Note:
See TracChangeset
for help on using the changeset viewer.