We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e60d0f commit 7a90b85Copy full SHA for 7a90b85
include/boost/leaf/pred.hpp
@@ -65,7 +65,7 @@ struct condition<Enum, Enum>
65
66
#if __cplusplus >= 201703L
67
template <class ErrorCodeEnum>
68
-BOOST_LEAF_CONSTEXPR inline bool category( std::error_code const & ec )
+BOOST_LEAF_CONSTEXPR bool category( std::error_code const & ec )
69
{
70
static_assert(std::is_error_code_enum<ErrorCodeEnum>::value, "leaf::category requires an error code enum");
71
return &ec.category() == &std::error_code(ErrorCodeEnum{}).category();
0 commit comments