Suppress coroutines deprecation warning in boost 1.62

This commit is contained in:
Anton Autushka 2017-11-09 15:41:44 +03:00
parent c2a37a83bd
commit 20836338d2

View file

@ -6,7 +6,8 @@
#include <boost/version.hpp>
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING
#define BOOST_COROUTINES_NO_DEPRECATION_WARNING // Boost 1.61
#define BOOST_COROUTINE_NO_DEPRECATION_WARNING // Boost 1.62
#if BOOST_VERSION >= 106100
#include <boost/coroutine/stack_allocator.hpp>