mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-29 19:25:26 +08:00
fix: stackvector expand
This commit is contained in:
@ -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];
|
||||
|
Reference in New Issue
Block a user