mirror of
https://github.com/boostorg/system.git
synced 2026-01-25 00:22:27 +01:00
Some compilers require all of the make_error_* functions be template specializations. See prior log message.
[SVN r39438]
This commit is contained in:
@@ -88,7 +88,7 @@ namespace boost
|
||||
template<> struct is_error_code_enum<boost::lib3::error>
|
||||
{ static const bool value = true; };
|
||||
|
||||
inline error_code make_error_code(boost::lib3::error e)
|
||||
template<> inline error_code make_error_code(boost::lib3::error e)
|
||||
{ return error_code(e,boost::lib3::lib3_error_category); }
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ namespace lib4
|
||||
// const boost::system::error_category & user_error_category
|
||||
// = user_error_category_const;
|
||||
//
|
||||
// inline boost::system::error_code make_error_code(user_err e)
|
||||
// template<> inline boost::system::error_code make_error_code(user_err e)
|
||||
// {
|
||||
// return boost::system::error_code(e, user_error_category);
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user