mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-17 17:08:39 +00:00
MutexedQueue inherits must use std::deque instead of std::list
This commit is contained in:
parent
94b3950958
commit
2f0107f4a7
2 changed files with 28 additions and 47 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue