Core/Threading: Remove unused code from LockedQueue

Signed-off-by: luis <[email protected]>
This commit is contained in:
Shauren
2026-11-12 17:00:28 -03:00
committed by luis
parent 441f177b36
commit 9796ee90e6
-18
View File
@@ -18,7 +18,6 @@
#ifndef TRINITYCORE_LOCKED_QUEUE_H
#define TRINITYCORE_LOCKED_QUEUE_H
#include "Concepts.h"
#include <deque>
#include <mutex>
@@ -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()
{