diff options
-rw-r--r-- | utils/HashTable.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/HashTable.h b/utils/HashTable.h index 2db7b93..5a0ab29 100644 --- a/utils/HashTable.h +++ b/utils/HashTable.h @@ -148,7 +148,6 @@ public: inline CcuHashIter (const CcuHashTable& t) : CcuHashCellIter (t) { } inline ~CcuHashIter () {} -//inline CcuHashIter& operator ++ () { ++((CcuHashCellIter) (*this)); return *this; } inline CcuHashIter& operator ++ () { return (CcuHashIter&)(this->CcuHashCellIter::operator ++ ()); } inline CcuHashItem* operator * () const { return CurCell ? CurCell->GetInfo () : 0; } }; @@ -207,7 +206,7 @@ template <class ITEM> class CcuHashIterOf : public CcuHashIter { public: inline CcuHashIterOf (const CcuHashTableOf<ITEM>& t) : CcuHashIter (t) { } inline ~CcuHashIterOf () {} -inline CcuHashIterOf<ITEM>& operator ++ () { ++((CcuHashIter) (*this)); return *this; } +inline CcuHashIterOf<ITEM>& operator ++ () { return (CcuHashIterOf<ITEM>&)(this->CcuHashIter::operator ++ ()); } inline ITEM* operator * () const { return (ITEM*) (CcuHashIter::operator * ()); } }; |