aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-11-29 14:35:51 +0100
committerHenning Baldersheim <balder@oath.com>2018-11-29 14:35:51 +0100
commit9b798c59bb8d31e61e5434f84c851ad05ee7b7b7 (patch)
tree9b36fb3490533c12a9904a1e3c30c4dab1117268 /searchcore
parent7bb9f2997f9f7e2bc88e075df93f13d5646cdaf7 (diff)
Include what you need and no more.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp2
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h4
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h1
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h1
-rw-r--r--searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp1
5 files changed, 6 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp b/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp
index 667220777eb..a859c53b4e3 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp
+++ b/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp
@@ -1,7 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "appcontext.h"
-#include <cassert>
+#include <chrono>
double FastS_TimeKeeper::GetTime() const {
using clock = std::chrono::steady_clock;
diff --git a/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h b/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h
index c018b3795b8..5235722d3b4 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h
+++ b/searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h
@@ -2,13 +2,13 @@
#pragma once
-#include <vespa/vespalib/util/clock.h>
+#include <cstdint>
class FastS_NodeManager;
class FNET_Transport;
class FNET_Scheduler;
class FastS_DataSetCollection;
-
+class FastOS_ThreadPool;
class FastS_TimeKeeper
{
diff --git a/searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h b/searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h
index 808f5de3959..18ade945102 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h
+++ b/searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h
@@ -6,6 +6,7 @@
#include <vespa/searchcore/fdispatch/common/appcontext.h>
#include <vespa/searchcore/fdispatch/common/search.h>
#include <vespa/searchsummary/docsummary/getdocsumargs.h>
+#include <vespa/fastos/thread.h>
namespace fdispatch {
diff --git a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h
index de941505fc6..32cadfd0648 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h
+++ b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h
@@ -5,6 +5,7 @@
#include <vespa/searchlib/engine/searchapi.h>
#include <vespa/searchcore/fdispatch/common/appcontext.h>
#include <vespa/searchcore/fdispatch/common/search.h>
+#include <vespa/fastos/thread.h>
namespace fdispatch {
diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp
index f2af03d4c52..a00e4014efc 100644
--- a/searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp
+++ b/searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp
@@ -6,6 +6,7 @@
#include "plain_dataset.h"
#include "engine_base.h"
#include <vespa/config/common/exceptions.h>
+#include <vespa/fastos/thread.h>
#include <set>
#include <vespa/log/log.h>