mirror of
https://github.com/gwm17/Daqromancy.git
synced 2024-11-22 18:58:51 -05:00
Fix an annoying compiler error for MacOS in ThreadSafeQueue
This commit is contained in:
parent
344bfd8809
commit
275c19a8b1
|
@ -79,13 +79,13 @@ namespace Daqromancy {
|
|||
|
||||
//For iterator loops, need begin()/end() idiom
|
||||
|
||||
std::deque<T>::iterator begin()
|
||||
typename std::deque<T>::iterator begin()
|
||||
{
|
||||
std::scoped_lock<std::mutex> guard(m_queueMutex);
|
||||
return m_queue.begin();
|
||||
}
|
||||
|
||||
std::deque<T>::iterator end()
|
||||
typename std::deque<T>::iterator end()
|
||||
{
|
||||
std::scoped_lock<std::mutex> guard(m_queueMutex);
|
||||
return m_queue.end();
|
||||
|
|
Loading…
Reference in New Issue
Block a user