summaryrefslogtreecommitdiff
path: root/src/nameidmapping.cpp
diff options
context:
space:
mode:
authorDavid Jones <david@gogledd.cymru>2015-08-25 21:23:05 +0100
committerShadowNinja <shadowninja@minetest.net>2015-08-25 18:33:52 -0400
commit34b7a147dcf9831f3b4d81599c473ba01ff5da00 (patch)
treee7a95bf333d782ebde897b25070c5d997174e2f5 /src/nameidmapping.cpp
parent2480f2d06fe50295184a60d6659378f9a5d57065 (diff)
downloadminetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.gz
minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.tar.bz2
minetest-34b7a147dcf9831f3b4d81599c473ba01ff5da00.zip
Change i++ to ++i
Diffstat (limited to 'src/nameidmapping.cpp')
-rw-r--r--src/nameidmapping.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nameidmapping.cpp b/src/nameidmapping.cpp
index ebe65076e..ed59ddd16 100644
--- a/src/nameidmapping.cpp
+++ b/src/nameidmapping.cpp
@@ -27,7 +27,7 @@ void NameIdMapping::serialize(std::ostream &os) const
writeU16(os, m_id_to_name.size());
for(std::map<u16, std::string>::const_iterator
i = m_id_to_name.begin();
- i != m_id_to_name.end(); i++){
+ i != m_id_to_name.end(); ++i){
writeU16(os, i->first);
os<<serializeString(i->second);
}