mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
commit
bb68a25b41
|
@ -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