From d3783ae359f3584c5bbb685179aab2b6f7abe410 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 30 Jul 2019 01:28:21 +0200 Subject: [PATCH] Remove magic template syntax. --- client/tracy_concurrentqueue.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tracy_concurrentqueue.h b/client/tracy_concurrentqueue.h index dfd4fc31..92655541 100644 --- a/client/tracy_concurrentqueue.h +++ b/client/tracy_concurrentqueue.h @@ -1356,7 +1356,7 @@ private: auto block = this->tailBlock; do { block = block->next; - if (block->ConcurrentQueue::Block::template is_empty()) { + if (block->ConcurrentQueue::Block::is_empty()) { continue; } @@ -1501,7 +1501,7 @@ private: inline void enqueue_begin_alloc(index_t currentTailIndex) { // We reached the end of a block, start a new one - if (this->tailBlock != nullptr && this->tailBlock->next->ConcurrentQueue::Block::template is_empty()) { + if (this->tailBlock != nullptr && this->tailBlock->next->ConcurrentQueue::Block::is_empty()) { // We can re-use the block ahead of us, it's empty! this->tailBlock = this->tailBlock->next; this->tailBlock->ConcurrentQueue::Block::template reset_empty(); @@ -1885,7 +1885,7 @@ private: index += sz; itemFirst += sz; - block->ConcurrentQueue::Block::template set_many_empty(firstIndexInBlock, static_cast(endIndex - firstIndexInBlock)); + block->ConcurrentQueue::Block::set_many_empty(firstIndexInBlock, static_cast(endIndex - firstIndexInBlock)); indexIndex = (indexIndex + 1) & (localBlockIndex->size - 1); } while (index != firstIndex + actualCount);