diff options
author | Ed Tanous <edtanous@google.com> | 2023-01-14 04:40:03 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-01-18 20:06:25 +0300 |
commit | 3ccb3adb9a14783f6bef601506de9f8bcae22d51 (patch) | |
tree | f77a62b7f6e8ba8671c99578335214b6dd8348ac /include/ibm | |
parent | 3a4ad5d9dba5ebbb92e8663c3177a326e920cd71 (diff) | |
download | bmcweb-3ccb3adb9a14783f6bef601506de9f8bcae22d51.tar.xz |
Fix a boatload of #includes
Most of these missing includes were found by running clang-tidy on all
files, including headers. The existing scripts just run clang-tidy on
source files, which doesn't catch most of these.
Tested: Code compiles
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Ic741fbb2cc9e5e92955fd5a1b778a482830e80e8
Diffstat (limited to 'include/ibm')
-rw-r--r-- | include/ibm/locks.hpp | 2 | ||||
-rw-r--r-- | include/ibm/management_console_rest.hpp | 15 | ||||
-rw-r--r-- | include/ibm/utils.hpp | 2 |
3 files changed, 10 insertions, 9 deletions
diff --git a/include/ibm/locks.hpp b/include/ibm/locks.hpp index e3abb46e92..fd27ef91cb 100644 --- a/include/ibm/locks.hpp +++ b/include/ibm/locks.hpp @@ -1,11 +1,11 @@ #pragma once #include "ibm/utils.hpp" +#include "logging.hpp" #include <boost/algorithm/string/predicate.hpp> #include <boost/container/flat_map.hpp> #include <boost/endian/conversion.hpp> -#include <logging.hpp> #include <nlohmann/json.hpp> #include <filesystem> diff --git a/include/ibm/management_console_rest.hpp b/include/ibm/management_console_rest.hpp index 34befd7fb1..6e4e7bbbfc 100644 --- a/include/ibm/management_console_rest.hpp +++ b/include/ibm/management_console_rest.hpp @@ -1,16 +1,17 @@ #pragma once -#include <app.hpp> -#include <async_resp.hpp> +#include "app.hpp" +#include "async_resp.hpp" +#include "error_messages.hpp" +#include "event_service_manager.hpp" +#include "ibm/locks.hpp" +#include "resource_messages.hpp" +#include "utils/json_utils.hpp" + #include <boost/algorithm/string/predicate.hpp> #include <boost/container/flat_set.hpp> -#include <error_messages.hpp> -#include <event_service_manager.hpp> -#include <ibm/locks.hpp> #include <nlohmann/json.hpp> -#include <resource_messages.hpp> #include <sdbusplus/message/types.hpp> -#include <utils/json_utils.hpp> #include <filesystem> #include <fstream> diff --git a/include/ibm/utils.hpp b/include/ibm/utils.hpp index 217b2f4d1a..256cbc52b5 100644 --- a/include/ibm/utils.hpp +++ b/include/ibm/utils.hpp @@ -1,6 +1,6 @@ #pragma once -#include <logging.hpp> +#include "logging.hpp" #include <filesystem> #include <fstream> |