diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index 5e9a33d..eb22f8e 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -15,7 +15,7 @@ #include #include #include -#include +#include #include #include #include @@ -528,7 +528,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT template error_condition(ErrorConditionEnum e, - typename boost::enable_if >::type* + typename boost::enable_if_::value>::type* = 0) BOOST_SYSTEM_NOEXCEPT { *this = make_error_condition(e); @@ -543,7 +543,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT } template - typename boost::enable_if, + typename boost::enable_if_::value, error_condition>::type & operator=( ErrorConditionEnum val ) BOOST_SYSTEM_NOEXCEPT { @@ -638,7 +638,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT template error_code(ErrorCodeEnum e, - typename boost::enable_if >::type* = 0) + typename boost::enable_if_::value>::type* = 0) BOOST_SYSTEM_NOEXCEPT { *this = make_error_code(e); @@ -652,7 +652,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT } template - typename boost::enable_if, error_code>::type & + typename boost::enable_if_::value, error_code>::type & operator=( ErrorCodeEnum val ) BOOST_SYSTEM_NOEXCEPT { *this = make_error_code(val);