Boost logo

Boost-Commit :

From: john_at_[hidden]
Date: 2008-04-15 13:50:12


Author: johnmaddock
Date: 2008-04-15 13:50:11 EDT (Tue, 15 Apr 2008)
New Revision: 44437
URL: http://svn.boost.org/trac/boost/changeset/44437

Log:
Add explicit type cast to fix GCC-C++0X mode error.
Text files modified:
   trunk/boost/regex/pending/object_cache.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/regex/pending/object_cache.hpp
==============================================================================
--- trunk/boost/regex/pending/object_cache.hpp (original)
+++ trunk/boost/regex/pending/object_cache.hpp 2008-04-15 13:50:11 EDT (Tue, 15 Apr 2008)
@@ -119,7 +119,7 @@
    //
    // Add it to the list, and index it:
    //
- s_data.cont.push_back(value_type(result, 0));
+ s_data.cont.push_back(value_type(result, static_cast<Key const*>(0)));
    s_data.index.insert(std::make_pair(k, --(s_data.cont.end())));
    s_data.cont.back().second = &(s_data.index.find(k)->first);
    map_size_type s = s_data.index.size();


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