Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52794 - sandbox/boost0x/libs/smart_ptr/test
From: whatwasthataddress_at_[hidden]
Date: 2009-05-06 00:38:31


Author: tzlaine
Date: 2009-05-06 00:38:29 EDT (Wed, 06 May 2009)
New Revision: 52794
URL: http://svn.boost.org/trac/boost/changeset/52794

Log:
Moved the #if defined( BOOST_HAS_RVALUE_REFS ) check enabling the shared_ptr
move tests to after the inclusion of shared_ptr.hpp, so that it has a chance of
actually being defined.

Text files modified:
   sandbox/boost0x/libs/smart_ptr/test/shared_ptr_move_test.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox/boost0x/libs/smart_ptr/test/shared_ptr_move_test.cpp
==============================================================================
--- sandbox/boost0x/libs/smart_ptr/test/shared_ptr_move_test.cpp (original)
+++ sandbox/boost0x/libs/smart_ptr/test/shared_ptr_move_test.cpp 2009-05-06 00:38:29 EDT (Wed, 06 May 2009)
@@ -8,11 +8,11 @@
 // http://www.boost.org/LICENSE_1_0.txt
 //
 
-#if defined( BOOST_HAS_RVALUE_REFS )
-
 #include <boost/shared_ptr.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
+#if defined( BOOST_HAS_RVALUE_REFS )
+
 struct X
 {
     static long instances;


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