summaryrefslogtreecommitdiff
path: root/src/position.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/position.cpp')
-rw-r--r--src/position.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/position.cpp b/src/position.cpp
index 6a7973105..61f2f011f 100644
--- a/src/position.cpp
+++ b/src/position.cpp
@@ -32,7 +32,8 @@ std::ostream& operator <<(std::ostream &os, const Position &p)
std::ostream& operator <<(std::ostream &os, const Path &path)
{
- Path::const_iterator i = path.begin(), i_end = path.end();
+ Path::const_iterator i = path.begin();
+ const Path::const_iterator i_end = path.end();
os << "(";
while (i != i_end)