From 5fdf2752ae3633b6e14646a7cb7e15747721381e Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 15 Apr 2008 17:50:11 +0000 Subject: [PATCH] Add explicit type cast to fix GCC-C++0X mode error. [SVN r44437] --- include/boost/regex/pending/object_cache.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/regex/pending/object_cache.hpp b/include/boost/regex/pending/object_cache.hpp index bc37e276..2a7e00bc 100644 --- a/include/boost/regex/pending/object_cache.hpp +++ b/include/boost/regex/pending/object_cache.hpp @@ -119,7 +119,7 @@ boost::shared_ptr object_cache::do_get(const Key& k, // // 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(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();