summaryrefslogtreecommitdiffstats
path: root/fsa/src/alltest
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-03 17:22:27 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-04-04 16:36:17 +0200
commitd57ddaefd37e6a19d3a6937fbf9a655dbafcdba5 (patch)
tree56f50116805e8ae7d2287c934e6ccc073142d0ce /fsa/src/alltest
parent3dab091fd0ec3ffd71af3e19e55ed3a4437b8d8b (diff)
Use override
Diffstat (limited to 'fsa/src/alltest')
-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";