From 65f3dcbe9baad818d76134509372b786ecf65372 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 5 Nov 2024 17:53:42 +1000 Subject: [PATCH] HeapArray: Fix assignment/move with aligned variant --- src/common/heap_array.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/heap_array.h b/src/common/heap_array.h index a7d35e8d3..cee348947 100644 --- a/src/common/heap_array.h +++ b/src/common/heap_array.h @@ -21,7 +21,7 @@ public: using const_reference = const T&; using pointer = T*; using const_pointer = const T*; - using this_type = FixedHeapArray; + using this_type = FixedHeapArray; FixedHeapArray() { allocate(); } @@ -164,7 +164,7 @@ public: using const_reference = const T&; using pointer = T*; using const_pointer = const T*; - using this_type = DynamicHeapArray; + using this_type = DynamicHeapArray; DynamicHeapArray() : m_data(nullptr), m_size(0) {} DynamicHeapArray(size_t size) { internal_resize(size, nullptr, 0); }