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/serverenvironment.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/serverenvironment.h') diff --git a/src/serverenvironment.h b/src/serverenvironment.h index 7c370fd54..3b7bf8fb0 100644 --- a/src/serverenvironment.h +++ b/src/serverenvironment.h @@ -190,7 +190,7 @@ enum ClearObjectsMode { This is not thread-safe. Server uses an environment mutex. */ -typedef UNORDERED_MAP ActiveObjectMap; +typedef std::unordered_map ServerActiveObjectMap; class ServerEnvironment : public Environment { @@ -395,7 +395,7 @@ private: // World path const std::string m_path_world; // Active object list - ActiveObjectMap m_active_objects; + ServerActiveObjectMap m_active_objects; // Outgoing network message buffer for active objects std::queue m_active_object_messages; // Some timers @@ -431,8 +431,8 @@ private: // Particles IntervalLimiter m_particle_management_interval; - UNORDERED_MAP m_particle_spawners; - UNORDERED_MAP m_particle_spawner_attachments; + std::unordered_map m_particle_spawners; + std::unordered_map m_particle_spawner_attachments; }; #endif -- cgit v1.2.3