diff --git a/include/boost/mp11/algorithm.hpp b/include/boost/mp11/algorithm.hpp index 948aacd..d4d6f56 100644 --- a/include/boost/mp11/algorithm.hpp +++ b/include/boost/mp11/algorithm.hpp @@ -679,9 +679,7 @@ template class L, class T1, class... T, std::size_t I, templa { static_assert( I < 1 + sizeof...(T), "mp_nth_element index out of range" ); - template using F = P; - - using part = mp_partition, F>; + using part = mp_partition_q, mp_sort_impl_f>; using L1 = mp_first; static std::size_t const N1 = mp_size::value;