summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vespalib/src/tests/btree/btree_test.cpp2
-rw-r--r--vespalib/src/tests/btree/btreeaggregation_test.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/vespalib/src/tests/btree/btree_test.cpp b/vespalib/src/tests/btree/btree_test.cpp
index ec2b37f9546..cd4c2eccd07 100644
--- a/vespalib/src/tests/btree/btree_test.cpp
+++ b/vespalib/src/tests/btree/btree_test.cpp
@@ -524,7 +524,7 @@ struct BTreeStealTraits
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;
+ [[maybe_unused]] static constexpr bool BINARY_SEEK = true;
};
}
diff --git a/vespalib/src/tests/btree/btreeaggregation_test.cpp b/vespalib/src/tests/btree/btreeaggregation_test.cpp
index a50c160351a..d077d5ee4a7 100644
--- a/vespalib/src/tests/btree/btreeaggregation_test.cpp
+++ b/vespalib/src/tests/btree/btreeaggregation_test.cpp
@@ -603,7 +603,7 @@ struct BTreeStealTraits
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;
+ [[maybe_unused]] static constexpr bool BINARY_SEEK = true;
};
}