summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2021-02-21 21:34:49 +0100
committerTor Egge <Tor.Egge@broadpark.no>2021-02-21 21:34:49 +0100
commit3ba3f25521b21bf84e718a027d67027860b7b79b (patch)
treefd55d65d6026ef19e563b601aa61a0d98d62258a /vespalib
parent89688305539438aa421d07bb8459afb3e438d58f (diff)
Mark potentially unused traits member as unused.
Diffstat (limited to 'vespalib')
-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;
};
}