|
Boost-Commit : |
From: eric_at_[hidden]
Date: 2007-10-29 11:04:12
Author: eric_niebler
Date: 2007-10-29 11:04:11 EDT (Mon, 29 Oct 2007)
New Revision: 40553
URL: http://svn.boost.org/trac/boost/changeset/40553
Log:
better solution for deprecated range_result_iterator
Text files modified:
trunk/boost/xpressive/detail/utility/symbols.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/xpressive/detail/utility/symbols.hpp
==============================================================================
--- trunk/boost/xpressive/detail/utility/symbols.hpp (original)
+++ trunk/boost/xpressive/detail/utility/symbols.hpp 2007-10-29 11:04:11 EDT (Mon, 29 Oct 2007)
@@ -21,10 +21,10 @@
# pragma once
#endif
-#include <boost/range/iterator.hpp>
#include <boost/range/begin.hpp>
#include <boost/range/end.hpp>
#include <boost/range/value_type.hpp>
+#include <boost/range/const_iterator.hpp>
#include <boost/shared_ptr.hpp>
namespace boost { namespace xpressive { namespace detail
@@ -39,8 +39,8 @@
typedef typename range_value<Map>::type::first_type key_type;
typedef typename range_value<Map>::type::second_type value_type;
typedef typename range_value<key_type>::type char_type;
- typedef typename range_iterator<Map const>::type iterator;
- typedef typename range_iterator<key_type const>::type key_iterator;
+ typedef typename range_const_iterator<Map>::type iterator;
+ typedef typename range_const_iterator<key_type>::type key_iterator;
typedef value_type const *result_type;
// copies of this symbol table share the TST
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