From 20836338d2cfb79620b5254c587a806d5e4469e8 Mon Sep 17 00:00:00 2001 From: Anton Autushka Date: Thu, 9 Nov 2017 15:41:44 +0300 Subject: [PATCH] Suppress coroutines deprecation warning in boost 1.62 --- src/thread/context.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/thread/context.hpp b/src/thread/context.hpp index 221df76..18a060c 100644 --- a/src/thread/context.hpp +++ b/src/thread/context.hpp @@ -6,7 +6,8 @@ #include -#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