Changeset 20018


Ignore:
Timestamp:
12/28/20 17:25:48 (4 years ago)
Author:
tbretz
Message:
In favor of boost 1.70, replaced get_io_context
File:
1 edited

Legend:

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

    r20005 r20018  
    125125void Connection::PostClose(bool restart)
    126126{
     127#if BOOST_VERSION < 107000
    127128    get_io_service().post(boost::bind(&Connection::CloseImp, this, restart));
     129#else
     130    ba::post(boost::bind(&Connection::CloseImp, this, restart));
     131#endif
    128132}
    129133
     
    385389    else
    386390    {
     391#if BOOST_VERSION < 107000
    387392        tcp::resolver resolver(get_io_service());
    388 
     393#else
     394        tcp::resolver resolver(get_executor());
     395#endif
    389396        tcp::resolver::query query(fAddress, fPort);
    390397        tcp::resolver::iterator iterator = resolver.resolve(query, ec);
Note: See TracChangeset for help on using the changeset viewer.