Skip to content

Commit 27e0dac

Browse files
committed
Fixing build errors
1 parent c906d82 commit 27e0dac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/restc-cpp/boost_compatibility.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ catch (boost::coroutines::detail::forced_unwind const&) { \
2828
throw; /* required for Boost Coroutine! */ \
2929
} catch (...)
3030
#elif BOOST_VERSION >= 106000
31-
#include <boost/coroutine/detail/forced_unwind.hpp>
31+
#include <boost/coroutine2/detail/forced_unwind.hpp>
3232
#define RESTC_CPP_IN_COROUTINE_CATCH_ALL \
3333
catch (boost::coroutines::detail::forced_unwind const&) { \
3434
throw; /* required for Boost Coroutine! */ \
3535
} catch (...)
3636
#else
37-
#define RESTC_CPP_IN_COROUTINE_CATCH_ALL \
37+
static_assert(false, "Unsupported boost version");
3838
catch (...)
3939
#endif
4040

0 commit comments

Comments
 (0)