summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/features/constant/constant_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/features/constant/constant_test.cpp')
-rw-r--r--searchlib/src/tests/features/constant/constant_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/features/constant/constant_test.cpp b/searchlib/src/tests/features/constant/constant_test.cpp
index 4a88fde58ce..f9d1736ba9e 100644
--- a/searchlib/src/tests/features/constant/constant_test.cpp
+++ b/searchlib/src/tests/features/constant/constant_test.cpp
@@ -76,7 +76,7 @@ struct ExecFixture
const TensorDimensions &dimensions)
{
Tensor::UP tensor = createTensor(cells, dimensions);
- ValueType type(tensor->getType());
+ ValueType type(tensor->type());
test.getIndexEnv().addConstantValue(name,
std::move(type),
std::move(tensor));