diff options
Diffstat (limited to 'searchlib/src/tests/sortspec')
-rw-r--r-- | searchlib/src/tests/sortspec/multilevelsort.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchlib/src/tests/sortspec/multilevelsort.cpp b/searchlib/src/tests/sortspec/multilevelsort.cpp index c65683a1754..5f35cf65711 100644 --- a/searchlib/src/tests/sortspec/multilevelsort.cpp +++ b/searchlib/src/tests/sortspec/multilevelsort.cpp @@ -1,7 +1,5 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP("multilevelsort_test"); #include <vespa/searchlib/common/sortresults.h> #include <vespa/searchlib/attribute/attribute.h> #include <vespa/searchlib/attribute/attributeguard.h> @@ -14,6 +12,8 @@ LOG_SETUP("multilevelsort_test"); #include <vespa/vespalib/testkit/testapp.h> #include <map> #include <sstream> +#include <vespa/log/log.h> +LOG_SETUP("multilevelsort_test"); using namespace search; @@ -253,7 +253,7 @@ MultilevelSortTest::sortAndCheck(const std::vector<Spec> &spec, uint32_t num, vespalib::Clock clock; vespalib::Doom doom(clock, std::numeric_limits<long>::max()); search::uca::UcaConverterFactory ucaFactory; - FastS_SortSpec sorter(doom, ucaFactory, _sortMethod); + FastS_SortSpec sorter(nullptr, doom, ucaFactory, _sortMethod); // init sorter with sort data for(uint32_t i = 0; i < spec.size(); ++i) { AttributeGuard ag; |