Permit usage of std::unordered_map & std::unorderered_set on c++11 compilers (#4430)
authorNer'zhul <nerzhul@users.noreply.github.com>
Wed, 10 Aug 2016 10:08:05 +0000 (12:08 +0200)
committerest31 <est31@users.noreply.github.com>
Wed, 10 Aug 2016 10:08:05 +0000 (12:08 +0200)
commit058a869b70072aba8baea47e359c45e82daaf152
treeb0dd1820e89975d7172836d4861d9ab2ae2b472d
parent8df89db30e80eff2ebbf30f0331b8ab4906a410e
Permit usage of std::unordered_map & std::unorderered_set on c++11 compilers (#4430)

This fallback to std::map & std::set for older compilers

Use UNORDERED_SET as an example in decoration and ore biome sets

Use UNORDERED_MAP as an example in nameidmapping
src/mg_decoration.cpp
src/mg_decoration.h
src/mg_ore.cpp
src/mg_ore.h
src/nameidmapping.cpp
src/nameidmapping.h
src/script/lua_api/l_mapgen.cpp
src/util/cpp11_container.h [new file with mode: 0644]