diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-04 21:00:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-04 21:00:04 +0200 |
commit | a98baef5e4fedca36c8c8755ad7c8233469f6a3f (patch) | |
tree | c40d1468774cf988b4567f33e89875e0c43803a7 /src/tool.cpp | |
parent | 2362d3f926e2702585f60011d4cea90b4faf4bd6 (diff) | |
download | minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.tar.gz minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.tar.bz2 minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.zip |
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
Diffstat (limited to 'src/tool.cpp')
-rw-r--r-- | src/tool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool.cpp b/src/tool.cpp index bb884938c..1afd71630 100644 --- a/src/tool.cpp +++ b/src/tool.cpp @@ -38,7 +38,7 @@ void ToolCapabilities::serialize(std::ostream &os, u16 protocol_version) const writeS16(os, cap->uses); writeS16(os, cap->maxlevel); writeU32(os, cap->times.size()); - for (UNORDERED_MAP<int, float>::const_iterator + for (std::unordered_map<int, float>::const_iterator j = cap->times.begin(); j != cap->times.end(); ++j) { writeS16(os, j->first); writeF1000(os, j->second); |