From a33ced77fcfb397d358d83d08b34435af5c0d894 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Tue, 20 Feb 2001 18:58:44 +0000 Subject: [PATCH] fixed missing const --- src/libCom/cxxTemplates/resourceLib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/cxxTemplates/resourceLib.h b/src/libCom/cxxTemplates/resourceLib.h index 42c81eaeb..83d7875df 100644 --- a/src/libCom/cxxTemplates/resourceLib.h +++ b/src/libCom/cxxTemplates/resourceLib.h @@ -413,7 +413,7 @@ void resTable::traverseConst ( void (T::*pCB)() const ) const while ( pList < &this->pTable[this->hashIdMask+1] ) { tsSLIterConst pItem = pList->firstIter (); while ( pItem.valid () ) { - tsSLIter pNext = pItem; + const tsSLIter pNext = pItem; pNext++; ( pItem.pointer ()->*pCB ) (); pItem = pNext;