mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
This commit is contained in:
parent
2362d3f926
commit
a98baef5e4
59 changed files with 223 additions and 298 deletions
|
@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#ifndef MG_ORE_HEADER
|
||||
#define MG_ORE_HEADER
|
||||
|
||||
#include "util/cpp11_container.h"
|
||||
#include <unordered_set>
|
||||
#include "objdef.h"
|
||||
#include "noise.h"
|
||||
#include "nodedef.h"
|
||||
|
@ -66,7 +66,7 @@ public:
|
|||
float nthresh; // threshold for noise at which an ore is placed
|
||||
NoiseParams np; // noise for distribution of clusters (NULL for uniform scattering)
|
||||
Noise *noise;
|
||||
UNORDERED_SET<u8> biomes;
|
||||
std::unordered_set<u8> biomes;
|
||||
|
||||
Ore();
|
||||
virtual ~Ore();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue