aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2023-05-09 16:31:10 +0200
committerTor Egge <Tor.Egge@online.no>2023-05-09 16:31:10 +0200
commit59ebc5e05ac53e0dee8661741ab0c88b3e751009 (patch)
tree6d72c7e51053820fef4d86c2faa72f777e2a86a5 /searchcore/src/tests
parentd26ca8bf4c154f42e57eb41e66c8f057e1f4c26f (diff)
Add RankingAssetsBuilder.
Diffstat (limited to 'searchcore/src/tests')
-rw-r--r--searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
index d8dafd1c39e..88ccec80b8a 100644
--- a/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
+++ b/searchcore/src/tests/proton/proton_configurer/proton_configurer_test.cpp
@@ -58,17 +58,17 @@ struct DBConfigFixture {
return DocumentDBConfig::build_schema(_attributesBuilder, _indexschemaBuilder);
}
- static RankingConstants::SP buildRankingConstants()
+ static std::shared_ptr<const RankingConstants> buildRankingConstants()
{
return std::make_shared<RankingConstants>();
}
- static RankingExpressions::SP buildRankingExpressions()
+ static std::shared_ptr<const RankingExpressions> buildRankingExpressions()
{
return std::make_shared<RankingExpressions>();
}
- static OnnxModels::SP buildOnnxModels()
+ static std::shared_ptr<const OnnxModels> buildOnnxModels()
{
return std::make_shared<OnnxModels>();
}