From 820dc02de1a8ec7fb7962232ded7a94e025073c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Thu, 20 Jan 2022 15:02:14 +0100 Subject: [PATCH] Havok: Add missing hkArray constructor --- lib/hkStubs/Havok/Common/Base/Container/Array/hkArray.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hkStubs/Havok/Common/Base/Container/Array/hkArray.h b/lib/hkStubs/Havok/Common/Base/Container/Array/hkArray.h index 64e8e365..554a5f81 100644 --- a/lib/hkStubs/Havok/Common/Base/Container/Array/hkArray.h +++ b/lib/hkStubs/Havok/Common/Base/Container/Array/hkArray.h @@ -108,6 +108,8 @@ public: using AllocatorType = Allocator; HK_FORCE_INLINE hkArray() = default; + HK_FORCE_INLINE hkArray(T* buffer, int size, int capacity) + : hkArrayBase(buffer, size, capacity) {} explicit hkArray(hkFinishLoadedObjectFlag f) : hkArrayBase(f) {} HK_FORCE_INLINE ~hkArray() { clearAndDeallocate(); }