diff options
Diffstat (limited to 'FoundationEx/Dictionary.inl')
-rw-r--r-- | FoundationEx/Dictionary.inl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FoundationEx/Dictionary.inl b/FoundationEx/Dictionary.inl index 1f32b9a..d419cf0 100644 --- a/FoundationEx/Dictionary.inl +++ b/FoundationEx/Dictionary.inl @@ -96,7 +96,7 @@ T& Dictionary<T>::operator[](const Text& key) #endif table[idx] = cell; - + return cell->value; } else { // search for key @@ -178,7 +178,7 @@ int Dictionary<T>::contains(const Text& key) const if (cell->key == key) return 1; } - + return 0; } @@ -259,7 +259,7 @@ void DictionaryIter<T>::forth() chain++; if (chain < CHAINS) - here = dict->table[chain]; + here = dict->table[chain]; else here = 0; } |