aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp')
-rw-r--r--searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp b/searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp
index 6f413da004c..565184cb7e5 100644
--- a/searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp
+++ b/searchlib/src/tests/features/tensor_from_labels/tensor_from_labels_test.cpp
@@ -99,7 +99,7 @@ struct ExecFixture
for (const auto &attr : attrs) {
attr->addReservedDoc();
attr->addDocs(1);
- test.getIndexEnv().getAttributeManager().add(attr);
+ test.getIndexEnv().getAttributeMap().add(attr);
}
StringAttribute *astr = static_cast<StringAttribute *>(attrs[0].get());