diff options
Diffstat (limited to 'src/nameidmapping.cpp')
-rw-r--r-- | src/nameidmapping.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nameidmapping.cpp b/src/nameidmapping.cpp index ed59ddd16..2af8befff 100644 --- a/src/nameidmapping.cpp +++ b/src/nameidmapping.cpp @@ -25,7 +25,7 @@ void NameIdMapping::serialize(std::ostream &os) const { writeU8(os, 0); // version writeU16(os, m_id_to_name.size()); - for(std::map<u16, std::string>::const_iterator + for(UNORDERED_MAP<u16, std::string>::const_iterator i = m_id_to_name.begin(); i != m_id_to_name.end(); ++i){ writeU16(os, i->first); |