mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Misc: MSVC build error (#23637)
- fixed a constness error leveraged by msvc 16.2
This commit is contained in:
committed by
Giacomo Pozzoni
parent
2cb1e7b18d
commit
7e10438b27
@@ -123,7 +123,7 @@ class TC_COMMON_API TaskScheduler
|
||||
/// Container which provides Task order, insert and reschedule operations.
|
||||
struct Compare
|
||||
{
|
||||
bool operator() (TaskContainer const& left, TaskContainer const& right)
|
||||
bool operator() (TaskContainer const& left, TaskContainer const& right) const
|
||||
{
|
||||
return (*left.get()) < (*right.get());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user