Core/Misc: mac build fix

(cherry picked from commit 752309fbe3)
This commit is contained in:
Shauren
2023-09-17 01:07:27 +02:00
parent ea1c5777fb
commit 6b9899e907

View File

@@ -97,7 +97,7 @@ class TC_COMMON_API TaskScheduler
// Order tasks by its end
std::weak_ordering operator<=> (Task const& other) const
{
return _end <=> other._end;
return std::compare_weak_order_fallback(_end, other._end);
}
// Compare tasks with its end