diff options
author | Ed Tanous <ed@tanous.net> | 2020-10-01 06:46:53 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-10-06 03:09:40 +0300 |
commit | d43cd0ca0ff6ea11e6dd0ccedb83147bb0b2d207 (patch) | |
tree | 4bbf0503d029d1fe02230aece649cc708792a02c /include | |
parent | 9645760e6607c695f49531ce2afd081d8f06ef4a (diff) | |
download | bmcweb-d43cd0ca0ff6ea11e6dd0ccedb83147bb0b2d207.tar.xz |
Fix includes
Lots of bad includes got put in recently, including big things, like
boost/http and beast/core. These are lots of code to parse, and leads
to files including things they didn't mean to.
Tested:
Code compiles
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: I38de889fdfd9b23f66a2259bb30bf6584345e77f
Diffstat (limited to 'include')
-rw-r--r-- | include/nbd_proxy.hpp | 4 | ||||
-rw-r--r-- | include/sessions.hpp | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/nbd_proxy.hpp b/include/nbd_proxy.hpp index a7f8c6d887..e2ebba1e2a 100644 --- a/include/nbd_proxy.hpp +++ b/include/nbd_proxy.hpp @@ -17,7 +17,9 @@ #include <app.h> #include <websocket.h> -#include <boost/asio.hpp> +#include <boost/asio/buffer.hpp> +#include <boost/asio/local/stream_protocol.hpp> +#include <boost/asio/write.hpp> #include <boost/beast/core/buffers_to_string.hpp> #include <boost/beast/core/multi_buffer.hpp> #include <boost/container/flat_map.hpp> diff --git a/include/sessions.hpp b/include/sessions.hpp index cd549dce1e..23de570f2d 100644 --- a/include/sessions.hpp +++ b/include/sessions.hpp @@ -168,11 +168,8 @@ struct AuthConfigMethods } }; -class Middleware; - struct OpenSSLGenerator { - uint8_t operator()(void) { uint8_t index = 0; |