# HG changeset patch # User rubidium # Date 1273741887 0 # Node ID 25d4a38dbee7476467ffedc36446f39e5285cd6f # Parent fdf6bdce47da447d6f452d341de390525e815105 (svn r19810) -Fix: [YAPF] Improperly formatted (global) constant diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp --- 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 HashTable; + typedef CHashTableT HashTable; typedef SmallArray Heap; typedef typename Tsegment::Key Key; ///< key to hash table