summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/tests/textutil/textutil_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors/src/tests/textutil/textutil_test.cpp')
-rw-r--r--streamingvisitors/src/tests/textutil/textutil_test.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/streamingvisitors/src/tests/textutil/textutil_test.cpp b/streamingvisitors/src/tests/textutil/textutil_test.cpp
index b926444e4df..f7f340a2182 100644
--- a/streamingvisitors/src/tests/textutil/textutil_test.cpp
+++ b/streamingvisitors/src/tests/textutil/textutil_test.cpp
@@ -2,7 +2,6 @@
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/fastlib/text/normwordfolder.h>
-#include <vespa/searchlib/query/base.h>
#include <vespa/vsm/searcher/fold.h>
#include <vespa/vsm/searcher/futf8strchrfieldsearcher.h>
#include <vespa/vsm/searcher/utf8stringfieldsearcherbase.h>
@@ -66,7 +65,7 @@ TextUtilTest::assertSkipSeparators(const char * input, size_t len, const UCS4V &
const byte * srcbuf = reinterpret_cast<const byte *>(input);
auto dstbuf = std::make_unique<ucs4_t[]>(len + 1);
auto offsets = std::make_unique<size_t[]>(len + 1);
- UTF8StrChrFieldSearcher fs;
+ UTF8StrChrFieldSearcher fs(0);
BW bw(dstbuf.get(), offsets.get());
size_t dstlen = fs.skipSeparators(srcbuf, len, bw);
EXPECT_EQUAL(dstlen, expdstbuf.size());