mirror of
https://github.com/NoelFB/blah.git
synced 2025-02-21 13:58:28 +08:00
fix: stackvector expand
This commit is contained in:
parent
c80188cfd0
commit
8b1b99330c
@ -129,7 +129,7 @@ namespace Blah
|
|||||||
int count = m_count;
|
int count = m_count;
|
||||||
|
|
||||||
for (int i = 0; i < amount; i++)
|
for (int i = 0; i < amount; i++)
|
||||||
new (data() + count + i) T(item);
|
new (data() + count + i) T();
|
||||||
|
|
||||||
m_count += amount;
|
m_count += amount;
|
||||||
return &data()[count];
|
return &data()[count];
|
||||||
|
Loading…
Reference in New Issue
Block a user