We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c906d82 commit 27e0dacCopy full SHA for 27e0dac
include/restc-cpp/boost_compatibility.h
@@ -28,13 +28,13 @@ catch (boost::coroutines::detail::forced_unwind const&) { \
28
throw; /* required for Boost Coroutine! */ \
29
} catch (...)
30
#elif BOOST_VERSION >= 106000
31
-#include <boost/coroutine/detail/forced_unwind.hpp>
+#include <boost/coroutine2/detail/forced_unwind.hpp>
32
#define RESTC_CPP_IN_COROUTINE_CATCH_ALL \
33
catch (boost::coroutines::detail::forced_unwind const&) { \
34
35
36
#else
37
-#define RESTC_CPP_IN_COROUTINE_CATCH_ALL \
+static_assert(false, "Unsupported boost version");
38
catch (...)
39
#endif
40
0 commit comments