diff --git a/external/atomic_queue/include/atomic_queue/atomic_queue.h b/external/atomic_queue/include/atomic_queue/atomic_queue.h index 94d7a5681..8ba66b0e6 100644 --- a/external/atomic_queue/include/atomic_queue/atomic_queue.h +++ b/external/atomic_queue/include/atomic_queue/atomic_queue.h @@ -400,13 +400,13 @@ class AtomicQueue2 : public AtomicQueueCommon(tail % size_); - return Base::template do_pop_any(states_[index], elements_[index]); + return Base::do_pop_any(states_[index], elements_[index]); } template void do_push(U&& element, unsigned head) noexcept { unsigned index = details::remap_index(head % size_); - Base::template do_push_any(std::forward(element), states_[index], elements_[index]); + Base::do_push_any(std::forward(element), states_[index], elements_[index]); } public: @@ -529,13 +529,13 @@ class AtomicQueueB2 : private std::allocator_traits::template rebind_alloc(tail & (size_ - 1)); - return Base::template do_pop_any(states_[index], elements_[index]); + return Base::do_pop_any(states_[index], elements_[index]); } template void do_push(U&& element, unsigned head) noexcept { unsigned index = details::remap_index(head & (size_ - 1)); - Base::template do_push_any(std::forward(element), states_[index], elements_[index]); + Base::do_push_any(std::forward(element), states_[index], elements_[index]); } template