mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
MutexedQueue inherits must use std::deque instead of std::list
This commit is contained in:
@@ -130,9 +130,9 @@ public:
|
||||
/*
|
||||
If the caller is already on the list, only update CallerData
|
||||
*/
|
||||
for(typename std::list< GetRequest<Key, T, Caller, CallerData> >::iterator
|
||||
i = m_queue.getList().begin();
|
||||
i != m_queue.getList().end(); ++i)
|
||||
for(typename std::deque< GetRequest<Key, T, Caller, CallerData> >::iterator
|
||||
i = m_queue.getQueue().begin();
|
||||
i != m_queue.getQueue().end(); ++i)
|
||||
{
|
||||
GetRequest<Key, T, Caller, CallerData> &request = *i;
|
||||
|
||||
|
Reference in New Issue
Block a user