summaryrefslogtreecommitdiffstats
path: root/fsa/src/alltest/detector_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fsa/src/alltest/detector_test.cpp')
-rw-r--r--fsa/src/alltest/detector_test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/fsa/src/alltest/detector_test.cpp b/fsa/src/alltest/detector_test.cpp
index 1942c4ba7a6..35307b9054e 100644
--- a/fsa/src/alltest/detector_test.cpp
+++ b/fsa/src/alltest/detector_test.cpp
@@ -10,11 +10,9 @@
#include <iostream>
#include <iomanip>
-#include <string>
#include <vespa/fsa/fsa.h>
#include <vespa/fsa/detector.h>
-#include <vespa/fsa/ngram.h>
using namespace fsa;
@@ -25,7 +23,7 @@ public:
void add(const NGram &text,
unsigned int from, int length,
- const FSA::State &)
+ const FSA::State &) override
{
std::cout << "detected: [" << from << "," << from+length-1 << "], '"
<< text.join(" ",from,length) << "'\n";