mirror of
https://github.com/gwm17/DaqGrimoire.git
synced 2025-04-22 00:38:51 -04:00
Fix lack of typename sugar for apple-clang
This commit is contained in:
parent
dedd1e0e95
commit
2bd094a97c
|
@ -80,13 +80,13 @@ namespace DaqGrimoire {
|
||||||
|
|
||||||
//For iterator loops, need begin()/end() idiom
|
//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);
|
std::scoped_lock<std::mutex> guard(m_queueMutex);
|
||||||
return m_queue.begin();
|
return m_queue.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
std::deque<T>::iterator end()
|
typename std::deque<T>::iterator end()
|
||||||
{
|
{
|
||||||
std::scoped_lock<std::mutex> guard(m_queueMutex);
|
std::scoped_lock<std::mutex> guard(m_queueMutex);
|
||||||
return m_queue.end();
|
return m_queue.end();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user