aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-04-19 15:06:15 +0000
committerTor Egge <Tor.Egge@oath.com>2018-04-20 08:48:48 +0000
commit834ea7c148b0595a11189bc7450ebb63483cbef6 (patch)
tree47aa4b0ab5322fd5d37536d8d112d5ec12fbc16d /searchlib/src/tests
parente3f7a936e403748ebb24d83490886b65bcd81ac7 (diff)
Change target attribute type in ImportedAttributeVector to
ReadableAttributeVector.
Diffstat (limited to 'searchlib/src/tests')
-rw-r--r--searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp b/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp
index 53ad20c3b03..e8e16ffcc98 100644
--- a/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp
+++ b/searchlib/src/tests/attribute/imported_search_context/imported_search_context_test.cpp
@@ -20,7 +20,7 @@ struct Fixture : ImportedAttributeFixture {
Fixture(bool useSearchCache = false) : ImportedAttributeFixture(useSearchCache) {}
std::unique_ptr<ImportedSearchContext> create_context(std::unique_ptr<QueryTermSimple> term) {
- return std::make_unique<ImportedSearchContext>(std::move(term), SearchContextParams(), *imported_attr);
+ return std::make_unique<ImportedSearchContext>(std::move(term), SearchContextParams(), *imported_attr, *target_attr);
}
std::unique_ptr<SearchIterator> create_iterator(