Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53946 - sandbox/monotonic/libs/monotonic/test
From: christian.schladetsch_at_[hidden]
Date: 2009-06-15 18:50:28


Author: cschladetsch
Date: 2009-06-15 18:50:27 EDT (Mon, 15 Jun 2009)
New Revision: 53946
URL: http://svn.boost.org/trac/boost/changeset/53946

Log:
fix for GCC

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

Modified: sandbox/monotonic/libs/monotonic/test/test_map_list.cpp
==============================================================================
--- sandbox/monotonic/libs/monotonic/test/test_map_list.cpp (original)
+++ sandbox/monotonic/libs/monotonic/test/test_map_list.cpp 2009-06-15 18:50:27 EDT (Mon, 15 Jun 2009)
@@ -3,12 +3,12 @@
 template <class Map>
 void test_map_list_impl(size_t count, Map &map)
 {
- typedef typename Map::referent_type List;
+ typedef typename Map::mapped_type List;
         size_t mod = count/10;
         for (size_t n = 0; n < count; ++n)
         {
                 int random = rand() % mod;
- Map::iterator iter = map.find(random);
+ typename Map::iterator iter = map.find(random);
                 if (iter == map.end())
                 {
                         map.insert(make_pair(random, List(map.get_allocator())));


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