|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61334 - trunk/libs/spirit/example/scheme/support
From: joel_at_[hidden]
Date: 2010-04-17 04:51:58
Author: djowel
Date: 2010-04-17 04:51:57 EDT (Sat, 17 Apr 2010)
New Revision: 61334
URL: http://svn.boost.org/trac/boost/changeset/61334
Log:
line_pos_iterator: a lighweight line position iterator.
Text files modified:
trunk/libs/spirit/example/scheme/support/line_pos_iterator.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/libs/spirit/example/scheme/support/line_pos_iterator.hpp
==============================================================================
--- trunk/libs/spirit/example/scheme/support/line_pos_iterator.hpp (original)
+++ trunk/libs/spirit/example/scheme/support/line_pos_iterator.hpp 2010-04-17 04:51:57 EDT (Sat, 17 Apr 2010)
@@ -96,7 +96,7 @@
// Get the iterator range containing the current line. Applicable to
// any iterator.
template <typename Iterator>
- inline iterator_range<Iterator>
+ inline boost::iterator_range<Iterator>
get_current_line(
Iterator lower_bound, Iterator current, Iterator upper_bound)
{
@@ -104,7 +104,7 @@
Iterator last = get_line_start(current, upper_bound);
if (last == current)
last = upper_bound;
- return iterator_range<Iterator>(first, last);
+ return boost::iterator_range<Iterator>(first, last);
}
// Get the current column. Applicable to any iterator.
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