diff options
author | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-12-22 11:22:15 +0000 |
commit | b1999a2a16b83aa031df2ce1cb266b7fea8847da (patch) | |
tree | a042bbc975ead7e8b38243d0d25822d70e72fe69 /common/hashmap.h | |
parent | 2ec51ef3585d9450ddf21cff9212c0bc7f0b6a3f (diff) | |
download | scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.gz scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.tar.bz2 scummvm-rg350-b1999a2a16b83aa031df2ce1cb266b7fea8847da.zip |
Fixed indentation and removed whitespaces at the end of line
svn-id: r35481
Diffstat (limited to 'common/hashmap.h')
-rw-r--r-- | common/hashmap.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/hashmap.h b/common/hashmap.h index bbc227b3ae..d45280133b 100644 --- a/common/hashmap.h +++ b/common/hashmap.h @@ -78,15 +78,15 @@ public: enum { HASHMAP_PERTURB_SHIFT = 5, HASHMAP_MIN_CAPACITY = 16, - - // The quotient of the next two constants controls how much the + + // The quotient of the next two constants controls how much the // internal storage of the hashmap may fill up before being // increased automatically. // Note: the quotient of these two must be between and different // from 0 and 1. HASHMAP_LOADFACTOR_NUMERATOR = 2, HASHMAP_LOADFACTOR_DENOMINATOR = 3, - + HASHMAP_MEMORYPOOL_SIZE = HASHMAP_MIN_CAPACITY * HASHMAP_LOADFACTOR_NUMERATOR / HASHMAP_LOADFACTOR_DENOMINATOR }; @@ -95,7 +95,7 @@ public: Node *allocNode(const Key &key) { return new (_nodePool) Node(key); - } + } void freeNode(Node *node) { _nodePool.deleteChunk(node); @@ -283,7 +283,7 @@ HashMap<Key, Val, HashFunc, EqualFunc>::HashMap() : * to heap buffers for the internal storage. */ template<class Key, class Val, class HashFunc, class EqualFunc> -HashMap<Key, Val, HashFunc, EqualFunc>::HashMap(const HM_t &map) : +HashMap<Key, Val, HashFunc, EqualFunc>::HashMap(const HM_t &map) : _defaultVal() { assign(map); } |