summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp')
-rw-r--r--searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp b/searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp
index 055a38b9943..e831e8b2ac7 100644
--- a/searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp
+++ b/searchcore/src/tests/proton/attribute/document_field_populator/document_field_populator_test.cpp
@@ -7,7 +7,7 @@
#include <vespa/searchcore/proton/attribute/document_field_populator.h>
#include <vespa/searchlib/attribute/attributefactory.h>
#include <vespa/searchlib/attribute/integerbase.h>
-#include <vespa/searchlib/index/empty_doc_builder.h>
+#include <vespa/searchlib/test/doc_builder.h>
#include <vespa/vespalib/util/stringfmt.h>
#include <vespa/log/log.h>
@@ -16,14 +16,14 @@ LOG_SETUP("document_field_populator_test");
using namespace document;
using namespace proton;
using namespace search;
-using namespace search::index;
+using search::test::DocBuilder;
typedef search::attribute::Config AVConfig;
typedef search::attribute::BasicType AVBasicType;
struct DocContext
{
- EmptyDocBuilder _builder;
+ DocBuilder _builder;
DocContext()
: _builder([](auto& header) { header.addField("a1", DataType::T_INT); })
{