diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-04 21:00:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-04 21:00:04 +0200 |
commit | a98baef5e4fedca36c8c8755ad7c8233469f6a3f (patch) | |
tree | c40d1468774cf988b4567f33e89875e0c43803a7 /src/server.h | |
parent | 2362d3f926e2702585f60011d4cea90b4faf4bd6 (diff) | |
download | minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.tar.gz minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.tar.bz2 minetest-a98baef5e4fedca36c8c8755ad7c8233469f6a3f.zip |
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server.h b/src/server.h index 2e735e77c..935be5f95 100644 --- a/src/server.h +++ b/src/server.h @@ -135,7 +135,7 @@ struct ServerPlayingSound { ServerSoundParams params; SimpleSoundSpec spec; - UNORDERED_SET<u16> clients; // peer ids + std::unordered_set<u16> clients; // peer ids }; class Server : public con::PeerHandler, public MapEventReceiver, @@ -653,12 +653,12 @@ private: u16 m_ignore_map_edit_events_peer_id; // media files known to server - UNORDERED_MAP<std::string, MediaInfo> m_media; + std::unordered_map<std::string, MediaInfo> m_media; /* Sounds */ - UNORDERED_MAP<s32, ServerPlayingSound> m_playing_sounds; + std::unordered_map<s32, ServerPlayingSound> m_playing_sounds; s32 m_next_sound_id; /* @@ -669,7 +669,7 @@ private: // value = "" (visible to all players) or player name std::map<std::string, std::string> m_detached_inventories_player; - UNORDERED_MAP<std::string, ModMetadata *> m_mod_storages; + std::unordered_map<std::string, ModMetadata *> m_mod_storages; float m_mod_storage_save_timer; DISABLE_CLASS_COPY(Server); |