Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72038 - in sandbox/block_ptr: boost libs/smart_ptr/example
From: phil_at_[hidden]
Date: 2011-05-18 20:09:51


Author: pbouchard
Date: 2011-05-18 20:09:51 EDT (Wed, 18 May 2011)
New Revision: 72038
URL: http://svn.boost.org/trac/boost/changeset/72038

Log:
* Renamed macro
Text files modified:
   sandbox/block_ptr/boost/block_ptr.hpp | 2 +-
   sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/block_ptr/boost/block_ptr.hpp
==============================================================================
--- sandbox/block_ptr/boost/block_ptr.hpp (original)
+++ sandbox/block_ptr/boost/block_ptr.hpp 2011-05-18 20:09:51 EDT (Wed, 18 May 2011)
@@ -238,7 +238,7 @@
             intrusive_stack::node pn_; /**< Tag used for enlisting a pointer on the heap to later share the @c block_header it belongs to. */
         };
 
-#ifdef BOOST_BP_RAW_POINTER
+#ifdef BOOST_BP_USE_RAW_POINTER
         public:
 #endif
                 /**

Modified: sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp
==============================================================================
--- sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp (original)
+++ sandbox/block_ptr/libs/smart_ptr/example/benchmark.cpp 2011-05-18 20:09:51 EDT (Wed, 18 May 2011)
@@ -3,7 +3,7 @@
 #include <memory>
 #include <iostream>
 #include <boost/shared_ptr.hpp>
-#define BOOST_BP_RAW_POINTER
+#define BOOST_BP_USE_RAW_POINTER
 #include <boost/block_ptr.hpp>
 
 using namespace std;


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