From 275c19a8b1c8e1d8087c03aab7894f51b34ea3b4 Mon Sep 17 00:00:00 2001 From: Gordon McCann Date: Thu, 6 Oct 2022 22:33:18 -0400 Subject: [PATCH] Fix an annoying compiler error for MacOS in ThreadSafeQueue --- src/Core/ThreadSafeQueue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/ThreadSafeQueue.h b/src/Core/ThreadSafeQueue.h index c1911e8..b2f7ad3 100644 --- a/src/Core/ThreadSafeQueue.h +++ b/src/Core/ThreadSafeQueue.h @@ -79,13 +79,13 @@ namespace Daqromancy { //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();