From f42b63c7ea82173837920d8712d2891cc3ecb6c2 Mon Sep 17 00:00:00 2001 From: arvidn Date: Tue, 28 Nov 2017 23:57:38 +0100 Subject: [PATCH] update io_service forward declaration to be boost-1.66 compatible --- include/libtorrent/io_service_fwd.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/libtorrent/io_service_fwd.hpp b/include/libtorrent/io_service_fwd.hpp index c14997d82..398c91216 100644 --- a/include/libtorrent/io_service_fwd.hpp +++ b/include/libtorrent/io_service_fwd.hpp @@ -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