summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/query_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-02-08 18:50:50 +0100
committerTor Egge <Tor.Egge@broadpark.no>2019-02-08 18:50:50 +0100
commit429d871df49ab9479a7e6c431a2fa44577a29024 (patch)
tree6b51c8a9cafc024fc2f39dd64a01d1f8993e4152 /searchcore/src/tests/proton/matching/query_test.cpp
parent63cd60257711b02a435a92fa0cc3c2fb7b976d9b (diff)
Eliminate some clang warnings in searchcore.
Diffstat (limited to 'searchcore/src/tests/proton/matching/query_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/query_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/searchcore/src/tests/proton/matching/query_test.cpp b/searchcore/src/tests/proton/matching/query_test.cpp
index 82aab72068d..8ecf6fd4a43 100644
--- a/searchcore/src/tests/proton/matching/query_test.cpp
+++ b/searchcore/src/tests/proton/matching/query_test.cpp
@@ -802,7 +802,8 @@ void Test::requireThatWeakAndBlueprintsAreCreatedCorrectly() {
wand.append(Node::UP(new ProtonStringTerm("foo", field, 0, Weight(3))));
wand.append(Node::UP(new ProtonStringTerm("bar", field, 0, Weight(7))));
- ResolveViewVisitor resolve_visitor(ViewResolver(), plain_index_env);
+ ViewResolver viewResolver;
+ ResolveViewVisitor resolve_visitor(viewResolver, plain_index_env);
wand.accept(resolve_visitor);
FakeRequestContext requestContext;
@@ -834,7 +835,8 @@ void Test::requireThatParallelWandBlueprintsAreCreatedCorrectly() {
wand.append(Node::UP(new ProtonStringTerm("foo", field, 0, Weight(3))));
wand.append(Node::UP(new ProtonStringTerm("bar", field, 0, Weight(7))));
- ResolveViewVisitor resolve_visitor(ViewResolver(), attribute_index_env);
+ ViewResolver viewResolver;
+ ResolveViewVisitor resolve_visitor(viewResolver, attribute_index_env);
wand.accept(resolve_visitor);
FakeRequestContext requestContext;