HashTable minor/cosmetic changes

This commit is contained in:
Mark Olesen
2009-03-04 12:15:01 +01:00
parent 17548296be
commit 9b8de83ab4
5 changed files with 52 additions and 55 deletions

View File

@ -290,7 +290,7 @@ public:
// Private data
//- Reference to the HashTable this is an iterator for
HashTable<T, Key, Hash>& curHashTable_;
HashTable<T, Key, Hash>& hashTable_;
//- Current element
hashedEntry* elmtPtr_;
@ -298,7 +298,6 @@ public:
//- Current hash index
label hashIndex_;
public:
// Constructors
@ -311,7 +310,6 @@ public:
label hashIndex
);
// Member operators
inline void operator=(const iterator&);
@ -328,7 +326,7 @@ public:
inline iterator& operator++();
inline iterator operator++(int);
inline const Key& key();
inline const Key& key() const;
};
@ -349,7 +347,7 @@ public:
// Private data
//- Reference to the HashTable this is an iterator for
const HashTable<T, Key, Hash>& curHashTable_;
const HashTable<T, Key, Hash>& hashTable_;
//- Current element
const hashedEntry* elmtPtr_;
@ -390,7 +388,7 @@ public:
inline const_iterator& operator++();
inline const_iterator operator++(int);
inline const Key& key();
inline const Key& key() const;
};