mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user