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:
parent
2362d3f926
commit
a98baef5e4
59 changed files with 223 additions and 298 deletions
|
@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#ifndef SERVEROBJECT_HEADER
|
||||
#define SERVEROBJECT_HEADER
|
||||
|
||||
#include <unordered_set>
|
||||
#include "irrlichttypes_bloated.h"
|
||||
#include "activeobject.h"
|
||||
#include "inventorymanager.h"
|
||||
|
@ -166,8 +167,8 @@ public:
|
|||
{}
|
||||
virtual void removeAttachmentChild(int child_id)
|
||||
{}
|
||||
virtual const UNORDERED_SET<int> &getAttachmentChildIds()
|
||||
{ static const UNORDERED_SET<int> rv; return rv; }
|
||||
virtual const std::unordered_set<int> &getAttachmentChildIds()
|
||||
{ static const std::unordered_set<int> rv; return rv; }
|
||||
virtual ObjectProperties* accessObjectProperties()
|
||||
{ return NULL; }
|
||||
virtual void notifyObjectPropertiesModified()
|
||||
|
@ -251,7 +252,7 @@ protected:
|
|||
|
||||
ServerEnvironment *m_env;
|
||||
v3f m_base_position;
|
||||
UNORDERED_SET<u32> m_attached_particle_spawners;
|
||||
std::unordered_set<u32> m_attached_particle_spawners;
|
||||
|
||||
private:
|
||||
// Used for creating objects based on type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue