SLL iterator speed up
This commit is contained in:
1 parent
a3fe65a59a
commit
cb6dfd31d0
1 file changed
+1
-1
@@ -482,7 +482,7 @@ void resTable<T,ID>::traverse (pSetMFArg(pCB)) const
|
||||
while ( pItem.valid () ) {
|
||||
T * p = & ( *pItem );
|
||||
(p->*pCB) ();
|
||||
pItem = pItem->itemAfter ();
|
||||
pItem = pItem.itemAfter ();
|
||||
}
|
||||
pList++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user