From 27e0dacd4e3a338cec7df297aa9dc897dfdfe7c3 Mon Sep 17 00:00:00 2001 From: Jarle Aase Date: Sat, 18 Jan 2025 19:59:31 +0200 Subject: [PATCH] Fixing build errors --- include/restc-cpp/boost_compatibility.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/restc-cpp/boost_compatibility.h b/include/restc-cpp/boost_compatibility.h index 34d9916..fb67efc 100644 --- a/include/restc-cpp/boost_compatibility.h +++ b/include/restc-cpp/boost_compatibility.h @@ -28,13 +28,13 @@ catch (boost::coroutines::detail::forced_unwind const&) { \ throw; /* required for Boost Coroutine! */ \ } catch (...) #elif BOOST_VERSION >= 106000 -#include +#include #define RESTC_CPP_IN_COROUTINE_CATCH_ALL \ catch (boost::coroutines::detail::forced_unwind const&) { \ throw; /* required for Boost Coroutine! */ \ } catch (...) #else -#define RESTC_CPP_IN_COROUTINE_CATCH_ALL \ +static_assert(false, "Unsupported boost version"); catch (...) #endif