Boost logo

Boost-Commit :

From: bdawes_at_[hidden]
Date: 2007-10-31 14:28:40


Author: bemandawes
Date: 2007-10-31 14:28:39 EDT (Wed, 31 Oct 2007)
New Revision: 40627
URL: http://svn.boost.org/trac/boost/changeset/40627

Log:
Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef
Text files modified:
   trunk/boost/system/error_code.hpp | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: trunk/boost/system/error_code.hpp
==============================================================================
--- trunk/boost/system/error_code.hpp (original)
+++ trunk/boost/system/error_code.hpp 2007-10-31 14:28:39 EDT (Wed, 31 Oct 2007)
@@ -171,9 +171,11 @@
     static const error_category & system_category = get_system_category();
     static const error_category & posix_category = get_posix_category();
     
+# ifndef BOOST_SYSTEM_NO_DEPRECATED
     // deprecated synonyms
     static const error_category & errno_ecat = get_posix_category();
     static const error_category & native_ecat = get_system_category();
+# endif
 
     // class error_condition -----------------------------------------------//
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk