diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-04 17:48:07 +0100 |
---|---|---|
committer | Craig Robbins <kde.psych@gmail.com> | 2015-03-05 16:49:51 +1000 |
commit | b214cde5b4a833e1826ec6850b95bf1938c8b0a0 (patch) | |
tree | 1692546699da08769e7d5e6c10435fb037924aa3 /src/network/connection.h | |
parent | 9e675793155d7cd56bbd2222df7b45245008c647 (diff) | |
download | dragonfireclient-b214cde5b4a833e1826ec6850b95bf1938c8b0a0.tar.xz |
Remove Queue class which uses std::list and use native std::queue
Diffstat (limited to 'src/network/connection.h')
-rw-r--r-- | src/network/connection.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/network/connection.h b/src/network/connection.h index 4ac9a4631..77d7edac0 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -505,10 +505,10 @@ public: ReliablePacketBuffer outgoing_reliables_sent; //queued reliable packets - Queue<BufferedPacket> queued_reliables; + std::queue<BufferedPacket> queued_reliables; //queue commands prior splitting to packets - Queue<ConnectionCommand> queued_commands; + std::queue<ConnectionCommand> queued_commands; IncomingSplitBuffer incoming_splits; @@ -964,7 +964,7 @@ private: Connection* m_connection; unsigned int m_max_packet_size; float m_timeout; - Queue<OutgoingPacket> m_outgoing_queue; + std::queue<OutgoingPacket> m_outgoing_queue; JSemaphore m_send_sleep_semaphore; unsigned int m_iteration_packets_avaialble; |