Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54267 - in sandbox/monotonic: boost/monotonic libs/monotonic/test/Tests
From: christian.schladetsch_at_[hidden]
Date: 2009-06-23 02:36:24


Author: cschladetsch
Date: 2009-06-23 02:36:23 EDT (Tue, 23 Jun 2009)
New Revision: 54267
URL: http://svn.boost.org/trac/boost/changeset/54267

Log:
fixed tests

Text files modified:
   sandbox/monotonic/boost/monotonic/config.hpp | 2 +-
   sandbox/monotonic/boost/monotonic/shared_allocator.hpp | 2 +-
   sandbox/monotonic/libs/monotonic/test/Tests/tests.cpp | 5 +++++
   3 files changed, 7 insertions(+), 2 deletions(-)

Modified: sandbox/monotonic/boost/monotonic/config.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/config.hpp (original)
+++ sandbox/monotonic/boost/monotonic/config.hpp 2009-06-23 02:36:23 EDT (Tue, 23 Jun 2009)
@@ -6,7 +6,7 @@
 #ifndef BOOST_MONOTONIC_CONFIG_HPP
 #define BOOST_MONOTONIC_CONFIG_HPP
 
-//#define BOOST_MONOTONIC_USE_POOLS
+#include <memory>
 
 namespace boost
 {

Modified: sandbox/monotonic/boost/monotonic/shared_allocator.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/shared_allocator.hpp (original)
+++ sandbox/monotonic/boost/monotonic/shared_allocator.hpp 2009-06-23 02:36:23 EDT (Tue, 23 Jun 2009)
@@ -45,7 +45,7 @@
                         };
 
                         shared_allocator() throw()
- : Parent(boost::monotonic::get_storage<Region,shared_access_tag>()) { }
+ : Parent(boost::monotonic::static_storage<Region,shared_access_tag>::get_storage()) { }
 
                 public:
                         shared_allocator(storage_base &store) throw()

Modified: sandbox/monotonic/libs/monotonic/test/Tests/tests.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/Tests/tests.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/Tests/tests.cpp 2009-06-23 02:36:23 EDT (Tue, 23 Jun 2009)
@@ -23,6 +23,11 @@
 struct region0 {};
 struct region1 {};
 
+BOOST_AUTO_TEST_CASE(test_local)
+{
+
+}
+
 BOOST_AUTO_TEST_CASE(test_shared_allocation)
 {
         typedef std::list<int, monotonic::allocator<int, region0, monotonic::shared_access_tag> > List0;


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