update io_service forward declaration to be boost-1.66 compatible

This commit is contained in:
arvidn 2017-11-28 23:57:38 +01:00 committed by Arvid Norberg
parent 0da2d4dca3
commit f42b63c7ea
1 changed files with 5 additions and 0 deletions

View File

@ -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