mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Reflect changes in boost::asio released in Boost 1.66. (#428)
The service template parameters are disabled by default for now. Use BOOST_ASIO_ENABLE_OLD_SERVICES macro to enable the old interface.
This commit is contained in:
committed by
ArseniyShestakov
parent
9d108d59db
commit
83c6ffbda0
@@ -14,6 +14,9 @@
|
||||
#include "../mapping/CMap.h"
|
||||
#include "../CGameState.h"
|
||||
|
||||
#if BOOST_VERSION >= 106600
|
||||
#define BOOST_ASIO_ENABLE_OLD_SERVICES
|
||||
#endif
|
||||
#include <boost/asio.hpp>
|
||||
|
||||
using namespace boost;
|
||||
|
||||
Reference in New Issue
Block a user