Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r81388 - trunk/boost/lockfree/detail
From: tim_at_[hidden]
Date: 2012-11-17 06:16:47


Author: timblechmann
Date: 2012-11-17 06:16:45 EST (Sat, 17 Nov 2012)
New Revision: 81388
URL: http://svn.boost.org/trac/boost/changeset/81388

Log:
lockfree: avoid deprecated macros
Text files modified:
   trunk/boost/lockfree/detail/freelist.hpp | 2 +-
   trunk/boost/lockfree/detail/tagged_ptr_dcas.hpp | 4 ++--
   trunk/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp | 4 ++--
   3 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/lockfree/detail/freelist.hpp
==============================================================================
--- trunk/boost/lockfree/detail/freelist.hpp (original)
+++ trunk/boost/lockfree/detail/freelist.hpp 2012-11-17 06:16:45 EST (Sat, 17 Nov 2012)
@@ -255,7 +255,7 @@
     {}
 
     /** copy constructor */
-#ifdef BOOST_NO_DEFAULTED_FUNCTIONS
+#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
     tagged_index(tagged_index const & rhs):
         index(rhs.index), tag(rhs.tag)
     {}

Modified: trunk/boost/lockfree/detail/tagged_ptr_dcas.hpp
==============================================================================
--- trunk/boost/lockfree/detail/tagged_ptr_dcas.hpp (original)
+++ trunk/boost/lockfree/detail/tagged_ptr_dcas.hpp 2012-11-17 06:16:45 EST (Sat, 17 Nov 2012)
@@ -27,7 +27,7 @@
     tagged_ptr(void) BOOST_NOEXCEPT//: ptr(0), tag(0)
     {}
 
-#ifdef BOOST_NO_DEFAULTED_FUNCTIONS
+#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
     tagged_ptr(tagged_ptr const & p):
         ptr(p.ptr), tag(p.tag)
     {}
@@ -41,7 +41,7 @@
 
     /** unsafe set operation */
     /* @{ */
-#ifdef BOOST_NO_DEFAULTED_FUNCTIONS
+#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
     tagged_ptr & operator= (tagged_ptr const & p)
     {
         set(p.ptr, p.tag);

Modified: trunk/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp
==============================================================================
--- trunk/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp (original)
+++ trunk/boost/lockfree/detail/tagged_ptr_ptrcompression.hpp 2012-11-17 06:16:45 EST (Sat, 17 Nov 2012)
@@ -65,7 +65,7 @@
     {}
 
     /** copy constructor */
-#ifdef BOOST_NO_DEFAULTED_FUNCTIONS
+#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
     tagged_ptr(tagged_ptr const & p):
         ptr(p.ptr)
     {}
@@ -79,7 +79,7 @@
 
     /** unsafe set operation */
     /* @{ */
-#ifdef BOOST_NO_DEFAULTED_FUNCTIONS
+#ifdef BOOST_NO_CXX11_DEFAULTED_FUNCTIONS
     tagged_ptr & operator= (tagged_ptr const & p)
     {
          ptr = p.ptr;


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