Skip to content

Commit 53bca24

Browse files
committed
gha
1 parent bf60785 commit 53bca24

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/boost/leaf/pred.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,13 @@ struct condition<Enum, Enum>
6363
static_assert(std::is_error_condition_enum<Enum>::value || std::is_error_code_enum<Enum>::value, "leaf::condition<Enum> requires Enum to be registered either with std::is_error_condition_enum or std::is_error_code_enum.");
6464
};
6565

66-
#if __cplusplus >= 201703L
6766
template <class ErrorCodeEnum>
6867
bool category( std::error_code const & ec )
6968
{
7069
static_assert(std::is_error_code_enum<ErrorCodeEnum>::value, "leaf::category requires an error code enum");
7170
return &ec.category() == &std::error_code(ErrorCodeEnum{}).category();
7271
}
7372
#endif
74-
#endif
7573

7674
////////////////////////////////////////
7775

0 commit comments

Comments
 (0)