diff options
Diffstat (limited to 'libcxx/include/string')
-rw-r--r-- | libcxx/include/string | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/string b/libcxx/include/string index a1dba310b5b..2041510fe50 100644 --- a/libcxx/include/string +++ b/libcxx/include/string @@ -1593,7 +1593,7 @@ private: _LIBCPP_INLINE_VISIBILITY void - __move_assign_alloc(const basic_string& __str) + __move_assign_alloc(basic_string& __str) _NOEXCEPT_( !__alloc_traits::propagate_on_container_move_assignment::value || is_nothrow_move_assignable<allocator_type>::value) @@ -1601,14 +1601,14 @@ private: __alloc_traits::propagate_on_container_move_assignment::value>());} _LIBCPP_INLINE_VISIBILITY - void __move_assign_alloc(const basic_string& __c, true_type) + void __move_assign_alloc(basic_string& __c, true_type) _NOEXCEPT_(is_nothrow_move_assignable<allocator_type>::value) { __alloc() = _VSTD::move(__c.__alloc()); } _LIBCPP_INLINE_VISIBILITY - void __move_assign_alloc(const basic_string& __c, false_type) + void __move_assign_alloc(basic_string& __c, false_type) _NOEXCEPT {} |