Mercurial > hg > openttd
changeset 15181:25d4a38dbee7 draft
(svn r19810) -Fix: [YAPF] Improperly formatted (global) constant
author | rubidium <rubidium@openttd.org> |
---|---|
date | Thu, 13 May 2010 09:11:27 +0000 |
parents | fdf6bdce47da |
children | 9b38891ce59a |
files | src/pathfinder/yapf/yapf_costcache.hpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -110,9 +110,9 @@ struct CSegmentCostCacheT : public CSegmentCostCacheBase { - enum {c_hash_bits = 14}; + static const int C_HASH_BITS = 14; - typedef CHashTableT<Tsegment, c_hash_bits> HashTable; + typedef CHashTableT<Tsegment, C_HASH_BITS> HashTable; typedef SmallArray<Tsegment> Heap; typedef typename Tsegment::Key Key; ///< key to hash table