Core/Misc: mac build fix

This commit is contained in:
Shauren
2023-09-17 01:07:27 +02:00
parent 911e9da2bb
commit 752309fbe3

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