Map invalid iterator fix
This commit is contained in:
parent
bcaef2489a
commit
ccdc8efd99
1 changed files with 1 additions and 1 deletions
|
|
@ -336,7 +336,7 @@ namespace tp {
|
|||
|
||||
void operator++() {
|
||||
mSlot++;
|
||||
while ((map->isDeletedNode(map->mTable[mSlot]) || !map->mTable[mSlot]) && (mSlot != map->mNSlots)) {
|
||||
while ((map->isDeletedNode(map->mTable[mSlot]) || !map->mTable[mSlot]) && (mSlot != (map->mNSlots - 1))) {
|
||||
mSlot++;
|
||||
}
|
||||
if (mSlot != map->mNSlots) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue