mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix C++11 violation that broke clang on Debian Stretch
This commit is contained in:
parent
24cdbe9bf5
commit
e7367f0fa5
@ -148,7 +148,7 @@ public:
|
||||
virtual void setArmorGroups(const ItemGroupList &armor_groups)
|
||||
{}
|
||||
virtual const ItemGroupList &getArmorGroups()
|
||||
{ static const ItemGroupList rv; return rv; }
|
||||
{ static ItemGroupList rv; return rv; }
|
||||
virtual void setPhysicsOverride(float physics_override_speed, float physics_override_jump, float physics_override_gravity)
|
||||
{}
|
||||
virtual void setAnimation(v2f frames, float frame_speed, float frame_blend, bool frame_loop)
|
||||
@ -172,7 +172,7 @@ public:
|
||||
virtual void removeAttachmentChild(int child_id)
|
||||
{}
|
||||
virtual const std::unordered_set<int> &getAttachmentChildIds()
|
||||
{ static const std::unordered_set<int> rv; return rv; }
|
||||
{ static std::unordered_set<int> rv; return rv; }
|
||||
virtual ServerActiveObject *getParent() const { return nullptr; }
|
||||
virtual ObjectProperties* accessObjectProperties()
|
||||
{ return NULL; }
|
||||
|
Loading…
Reference in New Issue
Block a user