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/client.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/client.h') diff --git a/src/client.h b/src/client.h index b4145c76f..fc2416087 100644 --- a/src/client.h +++ b/src/client.h @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include +#include #include "clientobject.h" #include "gamedef.h" #include "inventorymanager.h" @@ -656,18 +657,18 @@ private: // Sounds float m_removed_sounds_check_timer; // Mapping from server sound ids to our sound ids - UNORDERED_MAP m_sounds_server_to_client; + std::unordered_map m_sounds_server_to_client; // And the other way! - UNORDERED_MAP m_sounds_client_to_server; + std::unordered_map m_sounds_client_to_server; // And relations to objects - UNORDERED_MAP m_sounds_to_objects; + std::unordered_map m_sounds_to_objects; // Privileges - UNORDERED_SET m_privileges; + std::unordered_set m_privileges; // Detached inventories // key = name - UNORDERED_MAP m_detached_inventories; + std::unordered_map m_detached_inventories; // Storage for mesh data for creating multiple instances of the same mesh StringMap m_mesh_data; @@ -682,7 +683,7 @@ private: ClientScripting *m_script; bool m_modding_enabled; - UNORDERED_MAP m_mod_storages; + std::unordered_map m_mod_storages; float m_mod_storage_save_timer; GameUIFlags *m_game_ui_flags; -- cgit v1.2.3