summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2024-04-29 19:55:03 +0200
committerTor Egge <Tor.Egge@online.no>2024-04-29 19:55:03 +0200
commitf17741c6567a4e7d2def99bbefe423574d5e2df2 (patch)
tree5960fe70bdba88f5aa1dbb07b9ed7ff62327aeb1 /searchlib/src/tests/attribute
parent0e955fe9420b1b89d6fccbb77ebf0a698d922e8c (diff)
Add const specifiers for HnswIndex member functions get_subspaces() and
check_consistency().
Diffstat (limited to 'searchlib/src/tests/attribute')
-rw-r--r--searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
index 825c81de107..089f5e2e239 100644
--- a/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
+++ b/searchlib/src/tests/attribute/tensorattribute/tensorattribute_test.cpp
@@ -330,7 +330,7 @@ public:
return *my_dist_fun;
}
- uint32_t check_consistency(uint32_t) noexcept override {
+ uint32_t check_consistency(uint32_t) const noexcept override {
return 0;
}
};