diff options
Diffstat (limited to 'contrib/llvm-project/libcxx/include/__algorithm/move_backward.h')
| -rw-r--r-- | contrib/llvm-project/libcxx/include/__algorithm/move_backward.h | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/llvm-project/libcxx/include/__algorithm/move_backward.h b/contrib/llvm-project/libcxx/include/__algorithm/move_backward.h index 8151e4ef3243..aeedf4241dce 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/move_backward.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/move_backward.h @@ -108,8 +108,7 @@ struct __move_backward_loop {  struct __move_backward_trivial {    // At this point, the iterators have been unwrapped so any `contiguous_iterator` has been unwrapped to a pointer. -  template <class _In, class _Out, -            __enable_if_t<__can_lower_move_assignment_to_memmove<_In, _Out>::value, int> = 0> +  template <class _In, class _Out, __enable_if_t<__can_lower_move_assignment_to_memmove<_In, _Out>::value, int> = 0>    _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 pair<_In*, _Out*>    operator()(_In* __first, _In* __last, _Out* __result) const {      return std::__copy_backward_trivial_impl(__first, __last, __result); @@ -120,7 +119,8 @@ template <class _AlgPolicy, class _BidirectionalIterator1, class _Sentinel, clas  _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 pair<_BidirectionalIterator1, _BidirectionalIterator2>  __move_backward(_BidirectionalIterator1 __first, _Sentinel __last, _BidirectionalIterator2 __result) {    static_assert(std::is_copy_constructible<_BidirectionalIterator1>::value && -                std::is_copy_constructible<_BidirectionalIterator1>::value, "Iterators must be copy constructible."); +                    std::is_copy_constructible<_BidirectionalIterator1>::value, +                "Iterators must be copy constructible.");    return std::__dispatch_copy_or_move<_AlgPolicy, __move_backward_loop<_AlgPolicy>, __move_backward_trivial>(        std::move(__first), std::move(__last), std::move(__result));  | 
