From d19e139e1181cd191f7ca2616279da167a024cb7 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 12 Oct 2008 13:07:11 +0000 Subject: [PATCH] Change names to ErrorCodeEnum and ErrorConditionEnum to conform to N2798 [SVN r49290] --- include/boost/system/error_code.hpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index 9f5a207..c79c26c 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -224,9 +224,9 @@ namespace boost error_condition() : m_val(0), m_cat(&get_generic_category()) {} error_condition( int val, const error_category & cat ) : m_val(val), m_cat(&cat) {} - template - error_condition(ConditionEnum e, - typename boost::enable_if >::type* = 0) + template + error_condition(ErrorConditionEnum e, + typename boost::enable_if >::type* = 0) { *this = make_error_condition(e); } @@ -239,9 +239,9 @@ namespace boost m_cat = &cat; } - template - typename boost::enable_if, error_condition>::type & - operator=( ConditionEnum val ) + template + typename boost::enable_if, error_condition>::type & + operator=( ErrorConditionEnum val ) { *this = make_error_condition(val); return *this; @@ -311,9 +311,9 @@ namespace boost error_code() : m_val(0), m_cat(&get_system_category()) {} error_code( int val, const error_category & cat ) : m_val(val), m_cat(&cat) {} - template - error_code(CodeEnum e, - typename boost::enable_if >::type* = 0) + template + error_code(ErrorCodeEnum e, + typename boost::enable_if >::type* = 0) { *this = make_error_code(e); } @@ -325,9 +325,9 @@ namespace boost m_cat = &cat; } - template - typename boost::enable_if, error_code>::type & - operator=( CodeEnum val ) + template + typename boost::enable_if, error_code>::type & + operator=( ErrorCodeEnum val ) { *this = make_error_code(val); return *this;