Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53988 - in sandbox/monotonic: boost/monotonic libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-16 22:59:20


Author: cschladetsch
Date: 2009-06-16 22:59:19 EDT (Tue, 16 Jun 2009)
New Revision: 53988
URL: http://svn.boost.org/trac/boost/changeset/53988

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

Modified: sandbox/monotonic/boost/monotonic/static_storage.h
==============================================================================
--- sandbox/monotonic/boost/monotonic/static_storage.h (original)
+++ sandbox/monotonic/boost/monotonic/static_storage.h 2009-06-16 22:59:19 EDT (Tue, 16 Jun 2009)
@@ -15,7 +15,7 @@
                 template <class Storage>
                 struct static_storage_base : storage_base
                 {
- static Storage global;
+ Storage global;
 
                         void reset()
                         {
@@ -39,8 +39,6 @@
                         }
                 };
 
- template <>
- storage<> static_storage_base<storage<> >::global;
 
                 extern static_storage_base<storage<> > static_storage;
                 //extern static_storage_base<shared_storage<> > static_shared_storage;

Modified: sandbox/monotonic/libs/monotonic/test/main.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/main.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/main.cpp 2009-06-16 22:59:19 EDT (Tue, 16 Jun 2009)
@@ -276,7 +276,6 @@
 
 
 void test_chain();
-void test_chain();
 
 #include "test_map_list.cpp"
 #include "test_bubble_sort.cpp"
@@ -285,7 +284,11 @@
 #include "test_shared_storage.cpp"
 
 namespace boost { namespace monotonic {
+
 static_storage_base<storage<> > static_storage;
+
+//storage<> static_storage_base<storage<> >::global;
+
 }}
 
 void test_static_storage()
@@ -317,7 +320,7 @@
         test_dupe();
         graph_bubble_sort();
         test_bubble_sort();
- test_chain();
+ //test_chain();
         test_deque();
         test_alignment();
         test_speed();


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