Improve C++ header includes to improve build time

Recent changes ended up including all the Broker headers more places
than necessary, causing compile time to increase 2x.
This commit is contained in:
Jon Siwek 2019-06-20 19:50:23 -07:00
parent aefd9322fd
commit 8f19bbe589
16 changed files with 49 additions and 10 deletions

View file

@ -1,7 +1,17 @@
#ifndef BRO_COMM_MANAGER_H
#define BRO_COMM_MANAGER_H
#include <broker/broker.hh>
#include <broker/topic.hh>
#include <broker/data.hh>
#include <broker/store.hh>
#include <broker/status.hh>
#include <broker/error.hh>
#include <broker/endpoint.hh>
#include <broker/endpoint_info.hh>
#include <broker/peer_info.hh>
#include <broker/backend.hh>
#include <broker/backend_options.hh>
#include <broker/detail/hash.hh>
#include <broker/zeek.hh>
#include <memory>
#include <string>