diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-11-07 23:24:43 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-11-07 23:24:43 +0100 |
commit | a52eb2d13543835d8a05c164baaffaa23bd03623 (patch) | |
tree | a19557db801a31f3ad68bbf221557a0a85357a7d | |
parent | 0dac2ad839529051b01e2ea4c4be53bb7a14fb16 (diff) |
Use normal function template.
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/match_master.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp b/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp index 827ff4b5aca..faf10e46674 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/match_master.cpp @@ -60,7 +60,8 @@ createScheduler(uint32_t numThreads, uint32_t numSearchPartitions, uint32_t numD return std::make_unique<TaskDocidRangeScheduler>(numThreads, numSearchPartitions, numDocs); } -auto make_reply(const MatchToolsFactory &mtf, ResultProcessor &processor, ThreadBundle &bundle, auto full_result) { +template <class FullResult> +auto make_reply(const MatchToolsFactory &mtf, ResultProcessor &processor, ThreadBundle &bundle, FullResult full_result) { if (mtf.has_match_features()) { auto docs = processor.extract_docid_ordering(*full_result); auto reply = processor.makeReply(std::move(std::move(full_result))); |