From 9b798c59bb8d31e61e5434f84c851ad05ee7b7b7 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Thu, 29 Nov 2018 14:35:51 +0100 Subject: Include what you need and no more. --- searchcore/src/vespa/searchcore/fdispatch/common/appcontext.cpp | 2 +- searchcore/src/vespa/searchcore/fdispatch/common/appcontext.h | 4 ++-- searchcore/src/vespa/searchcore/fdispatch/program/docsumadapter.h | 1 + searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.h | 1 + searchcore/src/vespa/searchcore/fdispatch/search/nodemanager.cpp | 1 + 5 files changed, 6 insertions(+), 3 deletions(-) (limited to 'searchcore') 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 +#include 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 +#include 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 #include #include +#include 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 #include #include +#include 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 +#include #include #include -- cgit v1.2.3