diff options
Diffstat (limited to 'libcxx/test/algorithms/alg.sorting/alg.nth.element')
-rw-r--r-- | libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp | 6 | ||||
-rw-r--r-- | libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp index ea46195b4e2..61d8d2ae35a 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp @@ -9,9 +9,9 @@ // <algorithm> -// template<RandomAccessIterator Iter> -// requires ShuffleIterator<Iter> -// && LessThanComparable<Iter::value_type> +// template<RandomAccessIterator Iter> +// requires ShuffleIterator<Iter> +// && LessThanComparable<Iter::value_type> // void // nth_element(Iter first, Iter nth, Iter last); diff --git a/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp b/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp index b4d60502ed9..5e89a03fe15 100644 --- a/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp +++ b/libcxx/test/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp @@ -9,9 +9,9 @@ // <algorithm> -// template<RandomAccessIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare> -// requires ShuffleIterator<Iter> -// && CopyConstructible<Compare> +// template<RandomAccessIterator Iter, StrictWeakOrder<auto, Iter::value_type> Compare> +// requires ShuffleIterator<Iter> +// && CopyConstructible<Compare> // void // nth_element(Iter first, Iter nth, Iter last, Compare comp); @@ -29,7 +29,7 @@ struct indirect_less {return *x < *y;} }; -#endif +#endif // _LIBCPP_MOVE void test_one(unsigned N, unsigned M) @@ -81,5 +81,5 @@ int main() std::nth_element(v.begin(), v.begin() + v.size()/2, v.end(), indirect_less()); assert(*v[v.size()/2] == v.size()/2); } -#endif +#endif // _LIBCPP_MOVE } |