Replace BOOST_SYSTEM_NO_DEPRECATED with BOOST_SYSTEM_ENABLE_DEPRECATED

This commit is contained in:
Peter Dimov committed 2017-10-21 19:19:57 +03:00
1 parent 855fc96010
commit 829a1320a7
9 files changed
+14 -23

No files matched your search

-3
View File
@@ -9,9 +9,6 @@
//----------------------------------------------------------------------------//
// test without deprecated features
#define BOOST_SYSTEM_NO_DEPRECATED
#include <boost/config/warning_disable.hpp>
#include <boost/detail/lightweight_test.hpp>
-2
View File
@@ -14,8 +14,6 @@
// Motivation was a Boost posting by Christopher Kohlhoff on June 28, 2006.
#define BOOST_SYSTEM_NO_DEPRECATED
#include <boost/system/error_code.hpp>
#include <boost/cerrno.hpp>
#include <string>
+1 -1
View File
@@ -18,7 +18,7 @@ struct foo
foo()
{
boost::system::error_code ec;
ec == boost::system::posix::permission_denied;
ec == boost::system::errc::permission_denied;
}
} f;
-3
View File
@@ -9,9 +9,6 @@
//----------------------------------------------------------------------------//
// test without deprecated features
#define BOOST_SYSTEM_NO_DEPRECATED
#include <boost/config/warning_disable.hpp>
#include <boost/detail/lightweight_test.hpp>