1
0
Fork 0
mirror of https://github.com/gwm17/DaqGrimoire.git synced 2024-05-19 15:23:22 -04:00

Fix lack of typename sugar for apple-clang

This commit is contained in:
Gordon McCann 2022-10-01 19:05:47 -04:00
parent dedd1e0e95
commit 2bd094a97c

View File

@ -80,13 +80,13 @@ namespace DaqGrimoire {
//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();
@ -125,4 +125,4 @@ namespace DaqGrimoire {
};
}
#endif
#endif