mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Misc: MSVC build error (#23637)
- fixed a constness error leveraged by msvc 16.2
(cherry picked from commit 7e10438b27)
This commit is contained in:
@@ -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