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:
parent
9e67579315
commit
b214cde5b4
11 changed files with 85 additions and 139 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue