mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-04 18:10:10 +02:00
ANd again
This commit is contained in:
parent
9bed047b75
commit
edb456aa8f
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ namespace indexed_container {
|
|||
Index newElement(const Element& e) {
|
||||
Index index = _allocator.allocateIndex();
|
||||
if (index != INVALID_INDEX) {
|
||||
if (index < _elements.size()) {
|
||||
if (index < (Index) _elements.size()) {
|
||||
_elements.emplace(_elements.begin() + index, e);
|
||||
} else {
|
||||
assert(index == _elements.size());
|
||||
|
|
Loading…
Reference in a new issue