Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54251 - in sandbox/monotonic: boost/monotonic libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-22 22:49:26


Author: cschladetsch
Date: 2009-06-22 22:49:26 EDT (Mon, 22 Jun 2009)
New Revision: 54251
URL: http://svn.boost.org/trac/boost/changeset/54251

Log:
fixes for GCC
Text files modified:
   sandbox/monotonic/boost/monotonic/static_storage.hpp | 4 ----
   sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp | 3 ++-
   2 files changed, 2 insertions(+), 5 deletions(-)

Modified: sandbox/monotonic/boost/monotonic/static_storage.hpp
==============================================================================
--- sandbox/monotonic/boost/monotonic/static_storage.hpp (original)
+++ sandbox/monotonic/boost/monotonic/static_storage.hpp 2009-06-22 22:49:26 EDT (Mon, 22 Jun 2009)
@@ -29,10 +29,6 @@
                         static_storage_base()
                         {
                         }
- static_storage_base(StorageType const &store)
- : global(store)
- {
- }
                         static StorageType &get_storage()
                         {
                                 return global;

Modified: sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/compare_memory_pool.cpp 2009-06-22 22:49:26 EDT (Mon, 22 Jun 2009)
@@ -26,6 +26,8 @@
 using namespace std;
 using namespace boost;
 
+struct local_tag {};
+
 template <class Fun>
 PoolResult run_test(size_t count, size_t length, Fun fun, Type types)
 {
@@ -99,7 +101,6 @@
         if (types.Includes(Type::Monotonic))
         {
                 srand(42);
- struct local_tag {};
                 monotonic::local<local_tag> storage;
                 boost::timer timer;
                 for (size_t n = 0; n < count; ++n)


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