diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h')
-rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h b/contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h index b15eb816b918..ad63bd20fb47 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/ranges_nth_element.h @@ -44,7 +44,7 @@ struct __fn { _Iter __nth_element_fn_impl(_Iter __first, _Iter __nth, _Sent __last, _Comp& __comp, _Proj& __proj) { auto __last_iter = ranges::next(__first, __last); - auto&& __projected_comp = ranges::__make_projected_comp(__comp, __proj); + auto&& __projected_comp = std::__make_projected(__comp, __proj); std::__nth_element_impl<_RangeAlgPolicy>(std::move(__first), std::move(__nth), __last_iter, __projected_comp); return __last_iter; |