aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp b/searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp
index f611b4e1f4c..6da6c09cdba 100644
--- a/searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/searchhandlerproxy.cpp
@@ -7,8 +7,8 @@
namespace proton {
-SearchHandlerProxy::SearchHandlerProxy(const DocumentDB::SP &documentDB)
- : _documentDB(documentDB)
+SearchHandlerProxy::SearchHandlerProxy(DocumentDB::SP documentDB)
+ : _documentDB(std::move(documentDB))
{
_documentDB->retain();
}
@@ -25,11 +25,9 @@ SearchHandlerProxy::getDocsums(const DocsumRequest & request)
}
std::unique_ptr<search::engine::SearchReply>
-SearchHandlerProxy::match(const ISearchHandler::SP &searchHandler,
- const SearchRequest &req,
- vespalib::ThreadBundle &threadBundle) const
+SearchHandlerProxy::match(const SearchRequest &req, vespalib::ThreadBundle &threadBundle) const
{
- return _documentDB->match(searchHandler, req, threadBundle);
+ return _documentDB->match(req, threadBundle);
}
} // namespace proton