1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Remove Queue class which uses std::list and use native std::queue

This commit is contained in:
Loic Blot 2015-03-04 17:48:07 +01:00 committed by Craig Robbins
parent 9e67579315
commit b214cde5b4
11 changed files with 85 additions and 139 deletions

View file

@ -582,7 +582,7 @@ private:
Queues stuff from peerAdded() and deletingPeer() to
handlePeerChanges()
*/
Queue<con::PeerChange> m_peer_change_queue;
std::queue<con::PeerChange> m_peer_change_queue;
/*
Random stuff
@ -606,7 +606,7 @@ private:
Queue of map edits from the environment for sending to the clients
This is behind m_env_mutex
*/
Queue<MapEditEvent*> m_unsent_map_edit_queue;
std::queue<MapEditEvent*> m_unsent_map_edit_queue;
/*
Set to true when the server itself is modifying the map and does
all sending of information by itself.