summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pathfinder/yapf/yapf_costcache.hpp4
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