From d736ce07a5bd64567768d61fbaba1bbf3f9bab8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Fri, 31 Jan 2025 15:31:13 +0100 Subject: [PATCH] src: use `std::ranges::greater` instead of `std::greater` --- src/cleanup_queue.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cleanup_queue.cc b/src/cleanup_queue.cc index bd9b03c1f0ae6b..d7b0f33c1c2282 100644 --- a/src/cleanup_queue.cc +++ b/src/cleanup_queue.cc @@ -15,7 +15,7 @@ std::vector CleanupQueue::GetOrdered() // Sort in descending order so that the most recently inserted callbacks are // run first. - std::ranges::sort(callbacks, std::greater()); + std::ranges::sort(callbacks, std::ranges::greater()); return callbacks; }