From fcd0616f4df7a57becff5fe8fa1cc312e184578a Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 29 Apr 2016 17:45:06 +0100 Subject: [PATCH] fix naming --- ostd/algorithm.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ostd/algorithm.hh b/ostd/algorithm.hh index d726d3e..cefe929 100644 --- a/ostd/algorithm.hh +++ b/ostd/algorithm.hh @@ -132,8 +132,8 @@ inline R sort_cmp(R range, C compare) { detail::introsort(range, compare); return range; } -template inline auto sort(C compare) { - return [&compare](auto &obj) { return sort(obj, move(compare)); }; +template inline auto sort_cmp(C compare) { + return [&compare](auto &obj) { return sort_cmp(obj, move(compare)); }; } template