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:49 +0200
commit6b9899e907a8ee7f6686419e67aaabb62d8d3a5a (patch)
tree8ea41b8540307f75e0e2de6339427b3e4785a36c /src/common/Utilities/TaskScheduler.h
parentea1c5777fb03b3b83e66bc11252247224ea9a544 (diff)
Core/Misc: mac build fix
(cherry picked from commit 752309fbe30d0dfff44272fe4ab74ec1864e123c)
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 3af5fc70a12..316d3b578b0 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