diff --git a/include/NetIO/ThreadSafeQueue.h b/include/NetIO/ThreadSafeQueue.h index 139dc0f..8b54527 100644 --- a/include/NetIO/ThreadSafeQueue.h +++ b/include/NetIO/ThreadSafeQueue.h @@ -80,13 +80,13 @@ namespace DaqGrimoire { //For iterator loops, need begin()/end() idiom - std::deque::iterator begin() + typename std::deque::iterator begin() { std::scoped_lock guard(m_queueMutex); return m_queue.begin(); } - std::deque::iterator end() + typename std::deque::iterator end() { std::scoped_lock guard(m_queueMutex); return m_queue.end(); @@ -125,4 +125,4 @@ namespace DaqGrimoire { }; } -#endif \ No newline at end of file +#endif