mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Change m_client_event_queue's type to std::queue
As indicated in its name, m_client_event_queue should be a queue. Change std::list to std::queue to improve the queue's performance.
This commit is contained in:
@@ -534,7 +534,7 @@ private:
|
||||
IrrlichtDevice *m_irr;
|
||||
std::map<u16, ClientActiveObject*> m_active_objects;
|
||||
std::vector<ClientSimpleObject*> m_simple_objects;
|
||||
std::list<ClientEnvEvent> m_client_event_queue;
|
||||
std::queue<ClientEnvEvent> m_client_event_queue;
|
||||
IntervalLimiter m_active_object_light_update_interval;
|
||||
IntervalLimiter m_lava_hurt_interval;
|
||||
IntervalLimiter m_drowning_interval;
|
||||
|
Reference in New Issue
Block a user