summaryrefslogtreecommitdiffstats
path: root/juniper/src/test/mcandTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'juniper/src/test/mcandTest.cpp')
-rw-r--r--juniper/src/test/mcandTest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/juniper/src/test/mcandTest.cpp b/juniper/src/test/mcandTest.cpp
index b185707c1be..0dc198864fe 100644
--- a/juniper/src/test/mcandTest.cpp
+++ b/juniper/src/test/mcandTest.cpp
@@ -16,11 +16,11 @@
* ALL RIGHTS RESERVED
* </pre>
***************************************************************************/
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP("");
+
#include "mcandTest.h"
-#include "testenv.h"
+
+#include <vespa/log/log.h>
+LOG_SETUP("mcandtest");
// Comment out cerr below to ignore unimplemented tests
#define NOTEST(name) \
@@ -405,13 +405,13 @@ struct MyTokenProcessor : public ITokenProcessor
Matcher &_m;
std::vector<size_t> _cands;
MyTokenProcessor(Matcher &m) : _m(m), _cands() {}
- virtual void handle_token(Token &token) override {
+ void handle_token(Token &token) override {
_m.handle_token(token);
const match_sequence *ms = _m.GetWorkSet();
_cands.push_back(ms[0].size());
LOG(info, "match_sequence[0].size(%zu)", _cands.back());
}
- virtual void handle_end(Token &token) override {
+ void handle_end(Token &token) override {
_m.handle_end(token);
}
};