Fixes
This commit is contained in:
@ -300,6 +300,7 @@ namespace ia
|
|||||||
{
|
{
|
||||||
const auto did_reallocate = reserve(newCount);
|
const auto did_reallocate = reserve(newCount);
|
||||||
for(; Base::m_count < newCount; Base::m_count++) Base::m_allocator.construct(&Base::m_data[Base::m_count]);
|
for(; Base::m_count < newCount; Base::m_count++) Base::m_allocator.construct(&Base::m_data[Base::m_count]);
|
||||||
|
Base::m_count = newCount;
|
||||||
return did_reallocate;
|
return did_reallocate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user