Move conditions to detail/config.hpp

This commit is contained in:
Peter Dimov committed 2022-02-07 03:16:23 +02:00
1 parent 4b143cdacc
commit de610efd53
4 files changed
+22 -10

No files matched your search

@@ -223,7 +223,7 @@ public:
operator std::error_condition () const
{
// This condition must be the same as the one in error_category_impl.hpp
#if defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 50000
#if defined(BOOST_SYSTEM_AVOID_STD_GENERIC_CATEGORY)
return std::error_condition( value(), category() );