mirror of
https://github.com/NoelFB/blah.git
synced 2025-02-18 12:48:27 +08:00
fix: stackvector expand
This commit is contained in:
parent
c80188cfd0
commit
8b1b99330c
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user