summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 14:49:22 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-01 16:54:58 +0200
commit7e3047881eb9095c6a5bdd0394783f163ef2142f (patch)
tree7026683a78812a1af1d253ce4f434bcf5c3d16b8 /searchsummary
parent349fee6bca3fbe9034a8e2b1cc65b287771e86e7 (diff)
Now everything builds without fastos.h
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/tests/extractkeywords/extractkeywordstest.cpp4
-rw-r--r--searchsummary/src/tests/extractkeywords/extractkeywordstest.h14
2 files changed, 7 insertions, 11 deletions
diff --git a/searchsummary/src/tests/extractkeywords/extractkeywordstest.cpp b/searchsummary/src/tests/extractkeywords/extractkeywordstest.cpp
index 2db11a99f70..8004b2dba53 100644
--- a/searchsummary/src/tests/extractkeywords/extractkeywordstest.cpp
+++ b/searchsummary/src/tests/extractkeywords/extractkeywordstest.cpp
@@ -2,10 +2,10 @@
// Copyright (C) 2001-2003 Fast Search & Transfer ASA
// Copyright (C) 2003 Overture Services Norway AS
+#include "extractkeywordstest.h"
#include <vespa/searchsummary/docsummary/keywordextractor.h>
#include <vespa/searchlib/parsequery/simplequerystack.h>
-#include <vespa/searchlib/util/rawbuf.h>
-#include "extractkeywordstest.h"
+#include <vespa/fastos/time.h>
#define NUMTESTS 5
diff --git a/searchsummary/src/tests/extractkeywords/extractkeywordstest.h b/searchsummary/src/tests/extractkeywords/extractkeywordstest.h
index 2b24ce39136..f0a5c93a6cb 100644
--- a/searchsummary/src/tests/extractkeywords/extractkeywordstest.h
+++ b/searchsummary/src/tests/extractkeywords/extractkeywordstest.h
@@ -4,12 +4,9 @@
#pragma once
+#include <vespa/fastos/app.h>
-namespace search {
-namespace docummary {
-class KeywordExtractor;
-}
-}
+namespace search::docsummary { class KeywordExtractor; }
class ExtractKeywordsTest : public FastOS_Application
{
@@ -25,9 +22,8 @@ private:
bool RunTest(int i, bool verify);
public:
- ExtractKeywordsTest(void)
- : _extractor(NULL)
- {
- }
+ ExtractKeywordsTest()
+ : _extractor(nullptr)
+ {}
};