aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/dep_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/dep_parser.cc')
-rw-r--r--paludis/repositories/e/dep_parser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc
index 34649b0d8..39d369faf 100644
--- a/paludis/repositories/e/dep_parser.cc
+++ b/paludis/repositories/e/dep_parser.cc
@@ -312,7 +312,7 @@ namespace
std::string arrow_lhs;
DepParserState state(dps_initial);
DepLexer lexer(s);
- DepLexer::Iterator i(lexer.begin()), i_end(lexer.end());
+ DepLexer::ConstIterator i(lexer.begin()), i_end(lexer.end());
for ( ; i != i_end ; ++i)
{
@@ -338,7 +338,7 @@ namespace
if (i->second.empty())
throw DepStringParseError(i->second, "Empty text entry");
- DepLexer::Iterator i_fwd(next(i));
+ DepLexer::ConstIterator i_fwd(next(i));
if (i_fwd != i_end && i_fwd->first == dpl_whitespace && ++i_fwd != i_end
&& i_fwd->first == dpl_arrow)
{