We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6607f commit a0af3ebCopy full SHA for a0af3eb
libcxx/include/__vector/vector.h
@@ -607,7 +607,7 @@ class _LIBCPP_TEMPLATE_VIS vector {
607
__enable_if_t<!is_same<decltype(*std::declval<_Iterator&>())&&, value_type&&>::value, int> = 0>
608
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
609
__insert_assign_n_unchecked(_Iterator __first, difference_type __n, pointer __position) {
610
- for (pointer __end_position = __position + __n; __position != __end_position; (void)++__position, ++__first) {
+ for (pointer __end_position = __position + __n; __position != __end_position; ++__position, (void)++__first) {
611
__temp_value<value_type, _Allocator> __tmp(this->__alloc(), *__first);
612
*__position = std::move(__tmp.get());
613
}
0 commit comments