Skip to content

Commit

Permalink
fix simulator build with new version of boost
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Jul 21, 2019
1 parent 196588c commit 08a3993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libtorrent/io_service_fwd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace libtorrent {
using io_service = boost::asio::io_service;
#endif

#if BOOST_VERSION >= 107000
#if BOOST_VERSION >= 107000 && !defined TORRENT_BUILD_SIMULATOR
template <typename T>
io_service& get_io_service(T& o) { return static_cast<io_service&>(o.get_executor().context()); }
#else
Expand Down

0 comments on commit 08a3993

Please sign in to comment.