1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)

This commit is contained in:
Loïc Blot 2017-06-04 21:00:04 +02:00 committed by GitHub
parent 2362d3f926
commit a98baef5e4
59 changed files with 223 additions and 298 deletions

View file

@ -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;
};