summaryrefslogtreecommitdiff
path: root/src/position.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-27 23:43:24 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-29 19:45:53 +0200
commit3cca6548aefcfe0751ab7b4d70ac71ace486e12e (patch)
treed4cc812676bc6f31ed5f1da6fd99fe0410abf9cd /src/position.cpp
parent9c99cee38effd341889267c8cda6c964af561aa1 (diff)
downloadmana-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.gz
mana-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.bz2
mana-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.tar.xz
mana-3cca6548aefcfe0751ab7b4d70ac71ace486e12e.zip
Removed underscores from some non-conforming filenames
We don't use underscores in the filenames generally, and let's be consistent on that matter.
Diffstat (limited to 'src/position.cpp')
-rw-r--r--src/position.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/position.cpp b/src/position.cpp
index 69d50476..33859327 100644
--- a/src/position.cpp
+++ b/src/position.cpp
@@ -29,14 +29,14 @@ std::ostream& operator <<(std::ostream &os, const Position &p)
std::ostream& operator <<(std::ostream &os, const Path &path)
{
- Path::const_iterator i = path.begin();
+ Path::const_iterator i = path.begin(), i_end = path.end();
os << "(";
- while (i != path.end())
+ while (i != i_end)
{
os << *i;
++i;
- if (i != path.end())
+ if (i != i_end)
os << ", ";
}
os << ")";