|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r49379 - in branches/release: . tools/quickbook/detail
From: daniel_james_at_[hidden]
Date: 2008-10-18 08:49:18
Author: danieljames
Date: 2008-10-18 08:49:17 EDT (Sat, 18 Oct 2008)
New Revision: 49379
URL: http://svn.boost.org/trac/boost/changeset/49379
Log:
Merged revisions 49230 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r49230 | danieljames | 2008-10-09 23:13:48 +0100 (Thu, 09 Oct 2008) | 1 line
position_iterator is meant to be a forward iterator, so avoid using operator+ with it.
........
Properties modified:
branches/release/ (props changed)
Text files modified:
branches/release/tools/quickbook/detail/template_stack.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: branches/release/tools/quickbook/detail/template_stack.hpp
==============================================================================
--- branches/release/tools/quickbook/detail/template_stack.hpp (original)
+++ branches/release/tools/quickbook/detail/template_stack.hpp 2008-10-18 08:49:17 EDT (Sat, 18 Oct 2008)
@@ -17,6 +17,7 @@
#include <boost/spirit/iterator/position_iterator.hpp>
#include <boost/spirit/utility/functor_parser.hpp>
#include <boost/spirit/symbols/symbols.hpp>
+#include <boost/next_prior.hpp>
namespace quickbook
{
@@ -63,7 +64,7 @@
scan.first = f;
}
if (len >= 0)
- scan.first = f+len;
+ scan.first = boost::next(f, len);
return len;
}
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