diff options
Diffstat (limited to 'libcxx/test/algorithms/alg.modifying.operations/alg.swap')
-rw-r--r-- | libcxx/test/algorithms/alg.modifying.operations/alg.swap/iter_swap.pass.cpp | 4 | ||||
-rw-r--r-- | libcxx/test/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.swap/iter_swap.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.swap/iter_swap.pass.cpp index eacc5dcac93..63577175131 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.swap/iter_swap.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.swap/iter_swap.pass.cpp @@ -9,8 +9,8 @@ // <algorithm> -// template<Iterator Iter1, Iterator Iter2> -// requires HasSwap<Iter1::reference, Iter2::reference> +// template<Iterator Iter1, Iterator Iter2> +// requires HasSwap<Iter1::reference, Iter2::reference> // void // iter_swap(Iter1 a, Iter2 b); diff --git a/libcxx/test/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp b/libcxx/test/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp index f44cd91ac1a..f150d2f8d2d 100644 --- a/libcxx/test/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp +++ b/libcxx/test/algorithms/alg.modifying.operations/alg.swap/swap_ranges.pass.cpp @@ -9,8 +9,8 @@ // <algorithm> -// template<ForwardIterator Iter1, ForwardIterator Iter2> -// requires HasSwap<Iter1::reference, Iter2::reference> +// template<ForwardIterator Iter1, ForwardIterator Iter2> +// requires HasSwap<Iter1::reference, Iter2::reference> // Iter2 // swap_ranges(Iter1 first1, Iter1 last1, Iter2 first2); @@ -60,7 +60,7 @@ test1() assert(*j[2] == 3); } -#endif +#endif // _LIBCPP_MOVE int main() { @@ -106,5 +106,5 @@ int main() test1<std::unique_ptr<int>*, random_access_iterator<std::unique_ptr<int>*> >(); test1<std::unique_ptr<int>*, std::unique_ptr<int>*>(); -#endif +#endif // _LIBCPP_MOVE } |