mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
fe6575b8d3
commit
1f1e14ab7f
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue