diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index c0d513c..199f45c 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 @@ -538,7 +538,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT template error_condition(ErrorConditionEnum e, - typename boost::enable_if_::value>::type* + typename boost::enable_if >::type* = 0) BOOST_SYSTEM_NOEXCEPT { *this = make_error_condition(e); @@ -553,7 +553,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT } template - typename boost::enable_if_::value, + typename boost::enable_if, error_condition>::type & operator=( ErrorConditionEnum val ) BOOST_SYSTEM_NOEXCEPT { @@ -648,7 +648,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT template error_code(ErrorCodeEnum e, - typename boost::enable_if_::value>::type* = 0) + typename boost::enable_if >::type* = 0) BOOST_SYSTEM_NOEXCEPT { *this = make_error_code(e); @@ -662,7 +662,7 @@ inline const error_category & generic_category() BOOST_SYSTEM_NOEXCEPT } template - typename boost::enable_if_::value, error_code>::type & + typename boost::enable_if, error_code>::type & operator=( ErrorCodeEnum val ) BOOST_SYSTEM_NOEXCEPT { *this = make_error_code(val);