mirror of https://github.com/zeldaret/botw.git
Havok: Add missing hkArray constructor
This commit is contained in:
parent
26d2110e88
commit
820dc02de1
|
@ -108,6 +108,8 @@ public:
|
||||||
using AllocatorType = Allocator;
|
using AllocatorType = Allocator;
|
||||||
|
|
||||||
HK_FORCE_INLINE hkArray() = default;
|
HK_FORCE_INLINE hkArray() = default;
|
||||||
|
HK_FORCE_INLINE hkArray(T* buffer, int size, int capacity)
|
||||||
|
: hkArrayBase<T>(buffer, size, capacity) {}
|
||||||
explicit hkArray(hkFinishLoadedObjectFlag f) : hkArrayBase<T>(f) {}
|
explicit hkArray(hkFinishLoadedObjectFlag f) : hkArrayBase<T>(f) {}
|
||||||
|
|
||||||
HK_FORCE_INLINE ~hkArray() { clearAndDeallocate(); }
|
HK_FORCE_INLINE ~hkArray() { clearAndDeallocate(); }
|
||||||
|
|
Loading…
Reference in New Issue