update io_service forward declaration to be boost-1.66 compatible
This commit is contained in:
parent
0da2d4dca3
commit
f42b63c7ea
|
@ -54,7 +54,12 @@ namespace sim { namespace asio {
|
|||
#endif
|
||||
|
||||
namespace boost { namespace asio {
|
||||
#if BOOST_VERSION < 106600
|
||||
class io_service;
|
||||
#else
|
||||
class io_context;
|
||||
typedef io_context io_service;
|
||||
#endif
|
||||
}}
|
||||
|
||||
namespace libtorrent
|
||||
|
|
Loading…
Reference in New Issue