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:
Sebastien Levy
2019-07-25 17:00:03 +02:00
committed by Aokromes
parent da5531f013
commit 0d6320dfd3

View File

@@ -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());
};