Core/Misc: MSVC build error (#23637)

- fixed a constness error leveraged by msvc 16.2
This commit is contained in:
Sebastien Levy
2019-07-25 17:00:03 +02:00
committed by Giacomo Pozzoni
parent 2cb1e7b18d
commit 7e10438b27

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