sparse_set: use the right iterator in the catch branch of insert
This commit is contained in:
@@ -282,7 +282,7 @@ protected:
|
||||
}
|
||||
ENTT_CATCH {
|
||||
for(; first != it; ++first) {
|
||||
sparse_ref(*it) = null;
|
||||
sparse_ref(*first) = null;
|
||||
}
|
||||
|
||||
ENTT_THROW;
|
||||
|
||||
Reference in New Issue
Block a user