diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index d9fcf7c27..457566080 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -435,8 +435,8 @@ void resTable::traverse (pSetMFArg(pCB)) tsSLIter pItem ( pList->first () ); while ( pItem.valid () ) { T * p = & ( *pItem ); - (p->*pCB) (); pItem = pItem.itemAfter (); + (p->*pCB) (); } pList++; } @@ -455,8 +455,8 @@ void resTable::traverseConst (pSetMFArgConst(pCB)) const tsSLIterConst pItem ( pList->first () ); while ( pItem.valid () ) { const T * p = & ( *pItem ); - (p->*pCB) (); pItem = pItem.itemAfter (); + (p->*pCB) (); } pList++; }