diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-11 08:59:53 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2021-08-11 09:13:46 +0000 |
commit | f2a55a06c41377c4ff2d5ab1cc98738e4e547f94 (patch) | |
tree | 659bfaae18aa9c7efb786efc78485757449bf4e6 /searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp | |
parent | 14901467ad821d5dfa0a326ebbdd944c275eb6c9 (diff) |
Refactor to avoid multiple hash lookups and code bloat.
Diffstat (limited to 'searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp')
-rw-r--r-- | searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp b/searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp index a72a441ba10..96e1c18459d 100644 --- a/searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp +++ b/searchlib/src/tests/predicate/predicate_tree_annotator_test.cpp @@ -1,9 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. // Unit tests for PredicateTreeAnnotator. -#include <vespa/log/log.h> -LOG_SETUP("PredicateTreeAnnotator_test"); - #include <vespa/document/predicate/predicate.h> #include <vespa/document/predicate/predicate_slime_builder.h> #include <vespa/searchlib/predicate/predicate_index.h> @@ -12,7 +9,9 @@ LOG_SETUP("PredicateTreeAnnotator_test"); #include <vespa/vespalib/data/slime/slime.h> #include <vespa/vespalib/testkit/testapp.h> #include <sstream> -#include <vector> + +#include <vespa/log/log.h> +LOG_SETUP("PredicateTreeAnnotator_test"); using document::Predicate; using std::ostringstream; |