diff options
Diffstat (limited to 'vespalib/src/tests')
-rw-r--r-- | vespalib/src/tests/btree/btree_test.cpp | 8 | ||||
-rw-r--r-- | vespalib/src/tests/btree/btreeaggregation_test.cpp | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/vespalib/src/tests/btree/btree_test.cpp b/vespalib/src/tests/btree/btree_test.cpp index 5b4c25cb870..b71aca92cd6 100644 --- a/vespalib/src/tests/btree/btree_test.cpp +++ b/vespalib/src/tests/btree/btree_test.cpp @@ -519,10 +519,10 @@ Test::requireThatNodeSplitInsertWorks() struct BTreeStealTraits { - static const size_t LEAF_SLOTS = 6; - static const size_t INTERNAL_SLOTS = 6; - static const size_t PATH_SIZE = 20; - static const bool BINARY_SEEK = true; + static constexpr size_t LEAF_SLOTS = 6; + static constexpr size_t INTERNAL_SLOTS = 6; + static constexpr size_t PATH_SIZE = 20; + static constexpr bool BINARY_SEEK = true; }; void diff --git a/vespalib/src/tests/btree/btreeaggregation_test.cpp b/vespalib/src/tests/btree/btreeaggregation_test.cpp index 67f5eda4b59..9ce57dbaf1d 100644 --- a/vespalib/src/tests/btree/btreeaggregation_test.cpp +++ b/vespalib/src/tests/btree/btreeaggregation_test.cpp @@ -598,10 +598,10 @@ Test::requireThatTreeInsertWorks() struct BTreeStealTraits { - static const size_t LEAF_SLOTS = 6; - static const size_t INTERNAL_SLOTS = 6; - static const size_t PATH_SIZE = 20; - static const bool BINARY_SEEK = true; + static constexpr size_t LEAF_SLOTS = 6; + static constexpr size_t INTERNAL_SLOTS = 6; + static constexpr size_t PATH_SIZE = 20; + static constexpr bool BINARY_SEEK = true; }; void |