[libcxx-commits] [libcxx] 04d74aa - [libc++] std::move should be _VSTD::move in one place. NFCI.
Arthur O'Dwyer via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 7 11:00:52 PST 2021
Author: Arthur O'Dwyer
Date: 2021-12-07T13:59:41-05:00
New Revision: 04d74aaff95984fba4572ce0d00fea43063462c6
URL: https://github.com/llvm/llvm-project/commit/04d74aaff95984fba4572ce0d00fea43063462c6
DIFF: https://github.com/llvm/llvm-project/commit/04d74aaff95984fba4572ce0d00fea43063462c6.diff
LOG: [libc++] std::move should be _VSTD::move in one place. NFCI.
Reviewed as part of D115177.
Added:
Modified:
libcxx/include/__ranges/subrange.h
Removed:
################################################################################
diff --git a/libcxx/include/__ranges/subrange.h b/libcxx/include/__ranges/subrange.h
index af4e27600625d..8e984f2bf06cc 100644
--- a/libcxx/include/__ranges/subrange.h
+++ b/libcxx/include/__ranges/subrange.h
@@ -91,14 +91,14 @@ namespace ranges {
_LIBCPP_HIDE_FROM_ABI
constexpr subrange(__convertible_to_non_slicing<_Iter> auto __iter, _Sent __sent)
requires _MustProvideSizeAtConstruction
- : __begin_(_VSTD::move(__iter)), __end_(std::move(__sent))
+ : __begin_(_VSTD::move(__iter)), __end_(_VSTD::move(__sent))
{ }
_LIBCPP_HIDE_FROM_ABI
constexpr subrange(__convertible_to_non_slicing<_Iter> auto __iter, _Sent __sent,
make_unsigned_t<iter_
diff erence_t<_Iter>> __n)
requires (_Kind == subrange_kind::sized)
- : __begin_(_VSTD::move(__iter)), __end_(std::move(__sent)), __size_(__n)
+ : __begin_(_VSTD::move(__iter)), __end_(_VSTD::move(__sent)), __size_(__n)
{
if constexpr (sized_sentinel_for<_Sent, _Iter>)
_LIBCPP_ASSERT((__end_ - __begin_) == static_cast<iter_
diff erence_t<_Iter>>(__n),
More information about the libcxx-commits
mailing list