Skip to content

Commit

Permalink
src: use std::ranges::greater instead of std::greater
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Jan 31, 2025
1 parent 261624b commit d736ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cleanup_queue.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ std::vector<CleanupQueue::CleanupHookCallback> 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;
}
Expand Down

0 comments on commit d736ce0

Please sign in to comment.