Skip to content

Commit d892dab

Browse files
Fix this->__alloc()
1 parent a0af3eb commit d892dab

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
@@ -608,7 +608,7 @@ class _LIBCPP_TEMPLATE_VIS vector {
608608
_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI void
609609
__insert_assign_n_unchecked(_Iterator __first, difference_type __n, pointer __position) {
610610
for (pointer __end_position = __position + __n; __position != __end_position; ++__position, (void)++__first) {
611-
__temp_value<value_type, _Allocator> __tmp(this->__alloc(), *__first);
611+
__temp_value<value_type, _Allocator> __tmp(this->__alloc_, *__first);
612612
*__position = std::move(__tmp.get());
613613
}
614614
}

0 commit comments

Comments
 (0)