aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-01-01 22:23:32 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-01-01 22:23:32 +0000
commit882f1e57e3b48d53be0806f94bcb013be26cd576 (patch)
tree4b5dc81cd84e7cafc058e621793a45452eec1404 /searchlib/src
parent4f5be349db2d4bef3f53be62fd7cbee9f8a8b9cd (diff)
Add definition to avoid missing symbols at -O0
Diffstat (limited to 'searchlib/src')
-rw-r--r--searchlib/src/tests/attribute/enum_comparator/enum_comparator_test.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/searchlib/src/tests/attribute/enum_comparator/enum_comparator_test.cpp b/searchlib/src/tests/attribute/enum_comparator/enum_comparator_test.cpp
index 4a7491130f4..d679319924d 100644
--- a/searchlib/src/tests/attribute/enum_comparator/enum_comparator_test.cpp
+++ b/searchlib/src/tests/attribute/enum_comparator/enum_comparator_test.cpp
@@ -1,15 +1,13 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/log/log.h>
-LOG_SETUP("enum_comparator_test");
#include <vespa/searchlib/attribute/enumcomparator.h>
#include <vespa/vespalib/btree/btreeroot.h>
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/searchlib/attribute/enumstore.hpp>
-#include <vespa/vespalib/btree/btreenode.hpp>
-#include <vespa/vespalib/btree/btreenodeallocator.hpp>
-#include <vespa/vespalib/btree/btreeroot.hpp>
+
+#include <vespa/log/log.h>
+LOG_SETUP("enum_comparator_test");
namespace search {