diff options
author | Geir Storli <geirst@vespa.ai> | 2024-03-25 17:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 17:42:23 +0100 |
commit | 7a6ec3cd9c7e575d8134f21b8c6ee02f0bd40ad3 (patch) | |
tree | fd9a89750b011bb5f33da57dfeefd30f00b06a02 /searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp | |
parent | cfc8ecf6bb750039cd03b166ad82d505663cafbb (diff) | |
parent | 78edc04eb66fb4335f28d55e48a08beecd0ee56e (diff) |
Merge pull request #30731 from vespa-engine/havardpe/thread-local-blueprint-optionsv8.324.16
use thread_local for blueprint options
Diffstat (limited to 'searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp')
-rw-r--r-- | searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp index 9338436348b..d3b6a90e5db 100644 --- a/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp +++ b/searchlib/src/tests/queryeval/blueprint/intermediate_blueprints_test.cpp @@ -579,7 +579,7 @@ optimize_and_compare(Blueprint::UP top, Blueprint::UP expect, bool strict = true top->setDocIdLimit(1000); expect->setDocIdLimit(1000); TEST_DO(compare(*top, *expect, false)); - auto opts = Blueprint::Options::default_options().sort_by_cost(sort_by_cost); + auto opts = Blueprint::Options().sort_by_cost(sort_by_cost); top = Blueprint::optimize_and_sort(std::move(top), strict, opts); TEST_DO(compare(*top, *expect, true)); expect = Blueprint::optimize_and_sort(std::move(expect), strict, opts); |