summaryrefslogtreecommitdiff
path: root/src/face_position_cache.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-04 21:00:04 +0200
committerGitHub <noreply@github.com>2017-06-04 21:00:04 +0200
commita98baef5e4fedca36c8c8755ad7c8233469f6a3f (patch)
treec40d1468774cf988b4567f33e89875e0c43803a7 /src/face_position_cache.h
parent2362d3f926e2702585f60011d4cea90b4faf4bd6 (diff)
downloadminetest-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/face_position_cache.h')
-rw-r--r--src/face_position_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/face_position_cache.h b/src/face_position_cache.h
index c1d2841c4..5ea0d938b 100644
--- a/src/face_position_cache.h
+++ b/src/face_position_cache.h
@@ -22,10 +22,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irr_v3d.h"
#include "threading/mutex.h"
-#include "util/cpp11_container.h"
#include <map>
#include <vector>
+#include <unordered_map>
/*
* This class permits caching getFacePosition call results.
@@ -37,7 +37,7 @@ public:
private:
static const std::vector<v3s16> &generateFacePosition(u16 d);
- static UNORDERED_MAP<u16, std::vector<v3s16> > cache;
+ static std::unordered_map<u16, std::vector<v3s16>> cache;
static Mutex cache_mutex;
};