mirror of https://github.com/CGAL/cgal
Fix insertion method, keeping the index
This commit is contained in:
parent
ab0e622e8b
commit
effb28cdf2
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue