diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-25 17:02:25 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-12-12 02:55:38 +0100 |
commit | 84c6488ccd7691d389b710716c8f233a74cc0d6f (patch) | |
tree | 838cab06a1fe1b140b4d2052fdbcea74437d1d33 /searchlib/src/tests | |
parent | de5aae2629450ebfd5ae2c50b404749b0d5286b1 (diff) |
Use gid when sorting.
Diffstat (limited to 'searchlib/src/tests')
-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; |