Reduce proliferation of including broker header files

This change should roughly halve compilation time
This commit is contained in:
Jon Siwek 2018-06-25 15:48:56 -05:00
parent 0907921178
commit 0ae022205e
3 changed files with 6 additions and 1 deletions

View file

@ -27,6 +27,8 @@
#include "Reporter.h" #include "Reporter.h"
#include "IPAddr.h" #include "IPAddr.h"
#include "broker/Data.h"
Val::Val(Func* f) Val::Val(Func* f)
{ {
val.func_val = f; val.func_val = f;

View file

@ -1,5 +1,7 @@
// See the file "COPYING" in the main distribution directory for copyright. // See the file "COPYING" in the main distribution directory for copyright.
#include <broker/data.hh>
#include "util.h" #include "util.h"
#include "threading/SerialTypes.h" #include "threading/SerialTypes.h"

View file

@ -6,12 +6,13 @@
#define LOGGING_WRITERBACKEND_H #define LOGGING_WRITERBACKEND_H
#include "threading/MsgThread.h" #include "threading/MsgThread.h"
#include "broker/Data.h"
#include "Component.h" #include "Component.h"
class RemoteSerializer; class RemoteSerializer;
namespace broker { class data; }
namespace logging { namespace logging {
class WriterFrontend; class WriterFrontend;