mirror of
https://github.com/gwm17/DaqGrimoire.git
synced 2024-11-22 18:58:51 -05: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
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user