diff --git a/src/pathfinder/yapf/yapf_costcache.hpp b/src/pathfinder/yapf/yapf_costcache.hpp index e25faa9520..23bdc2d7b5 100644 --- a/src/pathfinder/yapf/yapf_costcache.hpp +++ b/src/pathfinder/yapf/yapf_costcache.hpp @@ -110,9 +110,9 @@ template 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