fix simulator build with new version of boost
This commit is contained in:
parent
196588c7b8
commit
08a399306c
|
@ -60,7 +60,7 @@ namespace libtorrent {
|
||||||
using io_service = boost::asio::io_service;
|
using io_service = boost::asio::io_service;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if BOOST_VERSION >= 107000
|
#if BOOST_VERSION >= 107000 && !defined TORRENT_BUILD_SIMULATOR
|
||||||
template <typename T>
|
template <typename T>
|
||||||
io_service& get_io_service(T& o) { return static_cast<io_service&>(o.get_executor().context()); }
|
io_service& get_io_service(T& o) { return static_cast<io_service&>(o.get_executor().context()); }
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue