From 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:21:10 +0300 Subject: Add missing const in other left files. --- src/position.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/position.cpp') 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) -- cgit v1.2.3-60-g2f50