From 8b1b99330c9f50ed36e26327539c76cc0dbd7037 Mon Sep 17 00:00:00 2001 From: bitwitch Date: Sun, 29 Nov 2020 13:18:22 -0600 Subject: [PATCH] fix: stackvector expand --- public/blah/containers/stackvector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/blah/containers/stackvector.h b/public/blah/containers/stackvector.h index 9f4e7b7..ef7b918 100644 --- a/public/blah/containers/stackvector.h +++ b/public/blah/containers/stackvector.h @@ -129,7 +129,7 @@ namespace Blah int count = m_count; for (int i = 0; i < amount; i++) - new (data() + count + i) T(item); + new (data() + count + i) T(); m_count += amount; return &data()[count];