Skip to content

Commit 7a90b85

Browse files
committed
Workaround for gcc7 link error
1 parent 2e60d0f commit 7a90b85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/leaf/pred.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ struct condition<Enum, Enum>
6565

6666
#if __cplusplus >= 201703L
6767
template <class ErrorCodeEnum>
68-
BOOST_LEAF_CONSTEXPR inline bool category( std::error_code const & ec )
68+
BOOST_LEAF_CONSTEXPR bool category( std::error_code const & ec )
6969
{
7070
static_assert(std::is_error_code_enum<ErrorCodeEnum>::value, "leaf::category requires an error code enum");
7171
return &ec.category() == &std::error_code(ErrorCodeEnum{}).category();

0 commit comments

Comments
 (0)