summaryrefslogtreecommitdiff
path: root/src/position.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
commit7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch)
tree8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/position.cpp
parent21069ec1635bd24ab33805e033d28f2c0b2de482 (diff)
downloadManaVerse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz
ManaVerse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2
ManaVerse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz
ManaVerse-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip
Add missing const in other left files.
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)