aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp')
-rw-r--r--searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp b/searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp
index d8ad1698c9d..37fc78df460 100644
--- a/searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp
+++ b/searchlib/src/tests/diskindex/pagedict4/pagedict4test.cpp
@@ -1,8 +1,6 @@
// 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("pagedict4test");
#include <vespa/searchlib/bitcompression/compression.h>
#include <vector>
#include <vespa/searchlib/util/rand48.h>
@@ -15,6 +13,8 @@ LOG_SETUP("pagedict4test");
#include <vespa/searchlib/diskindex/pagedict4file.h>
#include <vespa/searchlib/diskindex/pagedict4randread.h>
#include <vespa/searchlib/common/tunefileinfo.h>
+#include <vespa/log/log.h>
+LOG_SETUP("pagedict4test");
using search::bitcompression::PostingListCountFileEncodeContext;
using search::bitcompression::PostingListCountFileDecodeContext;
@@ -37,6 +37,7 @@ using search::diskindex::PageDict4FileSeqRead;
using search::diskindex::PageDict4FileSeqWrite;
using search::diskindex::PageDict4RandRead;
using search::index::DummyFileHeaderContext;
+using namespace search::index;
typedef search::bitcompression::PageDict4StartOffset StartOffset;
@@ -644,8 +645,8 @@ testWords(const std::string &logname,
fn << "f0";
schema.addIndexField(Schema::
IndexField(fn.str(),
- Schema::STRING,
- Schema::SINGLE));
+ schema::STRING,
+ schema::SINGLE));
indexes.push_back(0);
}
{