summaryrefslogtreecommitdiff
path: root/boost/regex/pending/object_cache.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/pending/object_cache.hpp')
-rw-r--r--boost/regex/pending/object_cache.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/regex/pending/object_cache.hpp b/boost/regex/pending/object_cache.hpp
index 05b6bfa24a..d47fbba9cd 100644
--- a/boost/regex/pending/object_cache.hpp
+++ b/boost/regex/pending/object_cache.hpp
@@ -151,7 +151,7 @@ boost::shared_ptr<Object const> object_cache<Key, Object>::do_get(const Key& k,
--s;
}
else
- --pos;
+ ++pos;
}
BOOST_ASSERT(s_data.index[k]->first.get() == result.get());
BOOST_ASSERT(&(s_data.index.find(k)->first) == s_data.cont.back().second);