From 2f0107f4a7e82019a68ae3c0572886622d9d49bf Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 5 Mar 2015 20:54:36 +0100 Subject: MutexedQueue inherits must use std::deque instead of std::list --- src/util/thread.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/util/thread.h') diff --git a/src/util/thread.h b/src/util/thread.h index 8b3c33621..eda9c0ca2 100644 --- a/src/util/thread.h +++ b/src/util/thread.h @@ -130,9 +130,9 @@ public: /* If the caller is already on the list, only update CallerData */ - for(typename std::list< GetRequest >::iterator - i = m_queue.getList().begin(); - i != m_queue.getList().end(); ++i) + for(typename std::deque< GetRequest >::iterator + i = m_queue.getQueue().begin(); + i != m_queue.getQueue().end(); ++i) { GetRequest &request = *i; -- cgit v1.2.3