Remove Queue class which uses std::list and use native std::queue
[oweals/minetest.git] / src / network / connection.h
index 4ac9a4631469d71fe796f43efb593db9d04104d3..77d7edac0d3711d0f15a61e0623b228631c25f32 100644 (file)
@@ -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;