Skip to content

Commit a0af3eb

Browse files
Adopt @winner245's review comments
1 parent aa6607f commit a0af3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__vector/vector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class _LIBCPP_TEMPLATE_VIS vector {
607607
__enable_if_t<!is_same<decltype(*std::declval<_Iterator&>())&&, value_type&&>::value, int> = 0>
608608
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
609609
__insert_assign_n_unchecked(_Iterator __first, difference_type __n, pointer __position) {
610-
for (pointer __end_position = __position + __n; __position != __end_position; (void)++__position, ++__first) {
610+
for (pointer __end_position = __position + __n; __position != __end_position; ++__position, (void)++__first) {
611611
__temp_value<value_type, _Allocator> __tmp(this->__alloc(), *__first);
612612
*__position = std::move(__tmp.get());
613613
}

0 commit comments

Comments
 (0)