Skip to content

Commit cdebfe5

Browse files
committed
Fix incorrect typedef
1 parent 9754825 commit cdebfe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/include/__memory/uninitialized_algorithms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 void __uninitialized_allocat
626626
!__allocator_has_trivial_destroy<_Alloc, _ValueType>::value) {
627627
auto __destruct_first = __result;
628628
auto __guard = std::__make_exception_guard(
629-
_AllocatorDestroyRangeReverse<_Alloc, _ValueType*>(__alloc, __destruct_first, __result));
629+
_AllocatorDestroyRangeReverse<_Alloc, _ContiguousIterator>(__alloc, __destruct_first, __result));
630630
auto __iter = __first;
631631
while (__iter != __last) {
632632
#if _LIBCPP_HAS_EXCEPTIONS

0 commit comments

Comments
 (0)