diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-11-17 14:49:32 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-11-17 14:49:32 +0000 |
commit | e60132d7f00ecd6d4514a3cb736e2f799ef0a9da (patch) | |
tree | e34cfe45705c90d904718e3f24229e9ea7b98356 /searchcore | |
parent | d8cd6277df664aadb35f84dc3d78d6038b244539 (diff) |
Use structured capture
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp b/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp index 5d2269b87cb..d07169a0d63 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/attribute_limiter.cpp @@ -110,8 +110,8 @@ AttributeLimiter::create_match_data(size_t want_hits, size_t max_group_size, dou std::unique_ptr<SearchIterator> AttributeLimiter::create_search(size_t want_hits, size_t max_group_size, double hit_rate, bool strictSearch) { - auto bp_and_md = create_match_data(want_hits, max_group_size, hit_rate, strictSearch); - return bp_and_md.first.createSearch(bp_and_md.second, strictSearch); + auto [blueprint, match_data] = create_match_data(want_hits, max_group_size, hit_rate, strictSearch); + return blueprint.createSearch(match_data, strictSearch); } } |