diff --git a/Src/IACore/imp/inl/IACore/container/dynamic.inl b/Src/IACore/imp/inl/IACore/container/dynamic.inl index 55a9acb..5195eeb 100644 --- a/Src/IACore/imp/inl/IACore/container/dynamic.inl +++ b/Src/IACore/imp/inl/IACore/container/dynamic.inl @@ -300,6 +300,7 @@ namespace ia { const auto did_reallocate = reserve(newCount); 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; }