aboutsummaryrefslogtreecommitdiff
path: root/src/common/Utilities/TaskScheduler.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-09-17 01:07:27 +0200
committerShauren <shauren.trinity@gmail.com>2023-09-17 01:07:27 +0200
commit752309fbe30d0dfff44272fe4ab74ec1864e123c (patch)
tree79b3e38d65487ddcf412a525e22e3f261b9e597a /src/common/Utilities/TaskScheduler.h
parent911e9da2bb6c8e244828dc52c89f935ecc7c2526 (diff)
Core/Misc: mac build fix
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