Changeset 20021 for trunk/FACT++


Ignore:
Timestamp:
12/28/20 17:28:59 (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/drivectrl.cc

    r19577 r20021  
    10461046    {
    10471047
    1048         Timeout_t(ba::io_service& ioservice,
     1048        Timeout_t(
     1049#if BOOST_VERSION < 107000
     1050                  ba::io_service& ioservice,
     1051#else
     1052                  ba::executor ioservice,
     1053#endif
    10491054                  uint8_t n, uint8_t r, uint16_t i, uint8_t s, uint32_t v, uint16_t millisec) : SDO(n, r, i, s, v),
    10501055            ba::deadline_timer(ioservice)
     
    12981303
    12991304        const uint32_t milliseconds = 3000;
     1305#if BOOST_VERSION < 107000
    13001306        fTimeouts.emplace_front(get_io_service(), node, req, idx, subidx, val, milliseconds);
     1307#else
     1308        fTimeouts.emplace_front(get_executor(), node, req, idx, subidx, val, milliseconds);
     1309#endif
    13011310
    13021311        const std::list<Timeout_t>::iterator &timeout = fTimeouts.begin();
Note: See TracChangeset for help on using the changeset viewer.