diff options
Diffstat (limited to 'src/common/db.hpp')
-rw-r--r-- | src/common/db.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/db.hpp b/src/common/db.hpp index d04f318..7d07b1d 100644 --- a/src/common/db.hpp +++ b/src/common/db.hpp @@ -9,7 +9,7 @@ /// Number of tree roots // Somewhat arbitrary - larger wastes more space but is faster for large trees // num % HASH_SIZE minimize collisions even for similar num -# define HASH_SIZE (256+27) +constexpr int HASH_SIZE = 256 + 27; typedef enum dbn_color { |