summaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/matchview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/matchview.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/matchview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/matchview.cpp b/searchcore/src/vespa/searchcore/proton/server/matchview.cpp
index bd9c927e94e..532c2e868b6 100644
--- a/searchcore/src/vespa/searchcore/proton/server/matchview.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/matchview.cpp
@@ -36,13 +36,13 @@ using matching::SessionManager;
MatchView::MatchView(Matchers::SP matchers,
IndexSearchable::SP indexSearchable,
IAttributeManager::SP attrMgr,
- SessionManagerSP sessionMgr,
+ SessionManager & sessionMgr,
IDocumentMetaStoreContext::SP metaStore,
DocIdLimit &docIdLimit)
: _matchers(std::move(matchers)),
_indexSearchable(std::move(indexSearchable)),
_attrMgr(std::move(attrMgr)),
- _sessionMgr(std::move(sessionMgr)),
+ _sessionMgr(sessionMgr),
_metaStore(std::move(metaStore)),
_docIdLimit(docIdLimit)
{ }
@@ -75,7 +75,7 @@ MatchView::match(std::shared_ptr<const ISearchHandler> searchHandler, const Sear
const search::IDocumentMetaStore & dms = owned_objects.readGuard->get();
const bucketdb::BucketDBOwner & bucketDB = _metaStore->get().getBucketDB();
return matcher->match(req, threadBundle, ctx->getSearchContext(), ctx->getAttributeContext(),
- *_sessionMgr, dms, bucketDB, std::move(owned_objects));
+ _sessionMgr, dms, bucketDB, std::move(owned_objects));
}
} // namespace proton