From a6728e5fb9c449451dd14fbfe124f2ac23026e6e Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Thu, 13 Nov 2008 16:05:49 +0000 Subject: [PATCH] System: add deprecated get_posix_category() to fix ticket #2461 [SVN r49717] --- include/boost/system/error_code.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/system/error_code.hpp b/include/boost/system/error_code.hpp index c79c26c..8f795d7 100644 --- a/include/boost/system/error_code.hpp +++ b/include/boost/system/error_code.hpp @@ -207,6 +207,7 @@ namespace boost # ifndef BOOST_SYSTEM_NO_DEPRECATED // deprecated synonyms + inline const error_category & get_posix_category() { return get_generic_category(); } static const error_category & posix_category = get_generic_category(); static const error_category & errno_ecat = get_generic_category(); static const error_category & native_ecat = get_system_category(); @@ -214,7 +215,7 @@ namespace boost // class error_condition -----------------------------------------------// - // error_conditions are portable, error_codes are system or lib specific + // error_conditions are portable, error_codes are system or library specific class error_condition {