diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 09:11:27 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 09:11:27 +0000 |
commit | dc149021be9950a934b2550d89e076f9671dca08 (patch) | |
tree | c45d8b8d9f778f317907c56c7996079323dd0d62 /src/pathfinder/yapf | |
parent | 2555522eabd5cb16c480aab755f5d3dd580ddae4 (diff) | |
download | openttd-dc149021be9950a934b2550d89e076f9671dca08.tar.xz |
(svn r19810) -Fix: [YAPF] Improperly formatted (global) constant
Diffstat (limited to 'src/pathfinder/yapf')
-rw-r--r-- | src/pathfinder/yapf/yapf_costcache.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp index e25faa952..23bdc2d7b 100644 --- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -110,9 +110,9 @@ template <class Tsegment> 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 |