From a98baef5e4fedca36c8c8755ad7c8233469f6a3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Sun, 4 Jun 2017 21:00:04 +0200 Subject: C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821) --- src/content_sao.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/content_sao.h') diff --git a/src/content_sao.h b/src/content_sao.h index 0dad54805..bb1a61a19 100644 --- a/src/content_sao.h +++ b/src/content_sao.h @@ -52,7 +52,7 @@ public: void getAttachment(int *parent_id, std::string *bone, v3f *position, v3f *rotation); void addAttachmentChild(int child_id); void removeAttachmentChild(int child_id); - const UNORDERED_SET &getAttachmentChildIds(); + const std::unordered_set &getAttachmentChildIds(); ObjectProperties* accessObjectProperties(); void notifyObjectPropertiesModified(); protected: @@ -72,11 +72,11 @@ protected: bool m_animation_sent; // Stores position and rotation for each bone name - UNORDERED_MAP > m_bone_position; + std::unordered_map> m_bone_position; bool m_bone_position_sent; int m_attachment_parent_id; - UNORDERED_SET m_attachment_child_ids; + std::unordered_set m_attachment_child_ids; std::string m_attachment_bone; v3f m_attachment_position; v3f m_attachment_rotation; @@ -188,7 +188,7 @@ public: } }; -typedef UNORDERED_MAP PlayerAttributes; +typedef std::unordered_map PlayerAttributes; class RemotePlayer; class PlayerSAO : public UnitSAO -- cgit v1.2.3