aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/TaskScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/Utilities/TaskScheduler.h')
-rw-r--r--src/common/Utilities/TaskScheduler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Utilities/TaskScheduler.h b/src/common/Utilities/TaskScheduler.h
index aee387ea46f..e76e6f1c45e 100644
--- a/src/common/Utilities/TaskScheduler.h
+++ b/src/common/Utilities/TaskScheduler.h
@@ -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