aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirst@vespa.ai>2024-03-25 13:39:42 +0100
committerGitHub <noreply@github.com>2024-03-25 13:39:42 +0100
commitcfc8ecf6bb750039cd03b166ad82d505663cafbb (patch)
tree355282324a10aebaed1bf62c7afb85eb0da2f508
parentddc667f5c262e314c7259729e0e38a452055266f (diff)
parentf65eeac47337d62639a4e18b4f98aa0989267696 (diff)
Merge pull request #30730 from vespa-engine/havardpe/init-bool
init bool value
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/blueprint.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/blueprint.h b/searchlib/src/vespa/searchlib/queryeval/blueprint.h
index 0fc5c690a25..e403d7bf456 100644
--- a/searchlib/src/vespa/searchlib/queryeval/blueprint.h
+++ b/searchlib/src/vespa/searchlib/queryeval/blueprint.h
@@ -63,7 +63,8 @@ public:
public:
constexpr Options() noexcept
: _sort_by_cost(false),
- _allow_force_strict(false) {}
+ _allow_force_strict(false),
+ _keep_order(false) {}
constexpr bool sort_by_cost() const noexcept { return _sort_by_cost; }
constexpr Options &sort_by_cost(bool value) noexcept {
_sort_by_cost = value;