Fix insertion method, keeping the index

This commit is contained in:
Simon Giraudot 2018-08-13 11:28:41 +02:00
parent ab0e622e8b
commit effb28cdf2
1 changed files with 2 additions and 0 deletions

View File

@ -418,7 +418,9 @@ public:
{
-- m_nb_removed;
iterator out = m_indices.end() - m_nb_removed - 1;
Index idx = *out;
m_base.reset(*out);
*out = idx;
return out;
}
}