Suppress coroutines deprecation warning in boost 1.62
This commit is contained in:
parent
c2a37a83bd
commit
20836338d2
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
#include <boost/version.hpp>
|
#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
|
#if BOOST_VERSION >= 106100
|
||||||
#include <boost/coroutine/stack_allocator.hpp>
|
#include <boost/coroutine/stack_allocator.hpp>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue