diff --git a/src/common/Threading/LockedQueue.h b/src/common/Threading/LockedQueue.h index 4a97da0c..350b1725 100644 --- a/src/common/Threading/LockedQueue.h +++ b/src/common/Threading/LockedQueue.h @@ -18,7 +18,6 @@ #ifndef TRINITYCORE_LOCKED_QUEUE_H #define TRINITYCORE_LOCKED_QUEUE_H -#include "Concepts.h" #include #include @@ -31,9 +30,6 @@ class LockedQueue //! Storage backing the queue. StorageType _queue; - //! Cancellation flag. - bool _canceled = false; - public: //! Adds an item to the queue. @@ -86,20 +82,6 @@ public: return true; } - //! Cancels the queue. - void cancel() - { - std::scoped_lock lock(_lock); - _canceled = true; - } - - //! Checks if the queue is cancelled. - bool cancelled() - { - std::scoped_lock lock(_lock); - return _canceled; - } - ///! Calls pop_front of the queue void pop_front() {