Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54198 - sandbox/monotonic/libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-22 06:35:53


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

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

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 06:35:52 EDT (Mon, 22 Jun 2009)
@@ -11,6 +11,7 @@
 #include <iomanip>
 #include <numeric>
 #include <algorithm>
+#include <math.h>
 
 #include <vector>
 #include <list>
@@ -247,7 +248,7 @@
                 {
                         ::allocate_object(storage);
                 }
- return n;
+ return 0;
         }
 };
 


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