diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-09-20 21:17:20 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-09-21 20:14:24 +0300 |
commit | 01c78a0617321a3b3ea9bde09b7deb6aa510545b (patch) | |
tree | fa5040d6124664f2166cb23701e97980ef751ded /redfish-core/include | |
parent | 043bec0965b9e9ba55888440fec4588c28335e5c (diff) | |
download | bmcweb-01c78a0617321a3b3ea9bde09b7deb6aa510545b.tar.xz |
registries: iwyu
Made the auto-generated headers and the openbmc registry include what
they use. Also alligned the include style.
Tested: code compiles.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I6577d5e12bc02da3bd7bf5780f89a4860b314e19
Diffstat (limited to 'redfish-core/include')
5 files changed, 16 insertions, 5 deletions
diff --git a/redfish-core/include/registries/base_message_registry.hpp b/redfish-core/include/registries/base_message_registry.hpp index cf5861e33c..16c00110a5 100644 --- a/redfish-core/include/registries/base_message_registry.hpp +++ b/redfish-core/include/registries/base_message_registry.hpp @@ -9,7 +9,9 @@ * should be first pushed to the relevant registry in the DMTF * github organization. ***************************************************************/ -#include <registries.hpp> +#include "registries.hpp" + +#include <array> // clang-format off diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp index 4810eb479b..77637a5d11 100644 --- a/redfish-core/include/registries/openbmc_message_registry.hpp +++ b/redfish-core/include/registries/openbmc_message_registry.hpp @@ -14,7 +14,10 @@ // limitations under the License. */ #pragma once -#include <registries.hpp> + +#include "registries.hpp" + +#include <array> /* Please read this before making edits to the structure below. diff --git a/redfish-core/include/registries/privilege_registry.hpp b/redfish-core/include/registries/privilege_registry.hpp index d42d530df3..57c9e0248e 100644 --- a/redfish-core/include/registries/privilege_registry.hpp +++ b/redfish-core/include/registries/privilege_registry.hpp @@ -9,7 +9,9 @@ * should be first pushed to the relevant registry in the DMTF * github organization. ***************************************************************/ -#include <privileges.hpp> +#include "privileges.hpp" + +#include <array> // clang-format off diff --git a/redfish-core/include/registries/resource_event_message_registry.hpp b/redfish-core/include/registries/resource_event_message_registry.hpp index d161882467..83ca7865a5 100644 --- a/redfish-core/include/registries/resource_event_message_registry.hpp +++ b/redfish-core/include/registries/resource_event_message_registry.hpp @@ -9,7 +9,9 @@ * should be first pushed to the relevant registry in the DMTF * github organization. ***************************************************************/ -#include <registries.hpp> +#include "registries.hpp" + +#include <array> // clang-format off diff --git a/redfish-core/include/registries/task_event_message_registry.hpp b/redfish-core/include/registries/task_event_message_registry.hpp index 94c74d16da..627ef130dd 100644 --- a/redfish-core/include/registries/task_event_message_registry.hpp +++ b/redfish-core/include/registries/task_event_message_registry.hpp @@ -9,7 +9,9 @@ * should be first pushed to the relevant registry in the DMTF * github organization. ***************************************************************/ -#include <registries.hpp> +#include "registries.hpp" + +#include <array> // clang-format off |