commit | 3b44559f8792611772b9838178e8f8acb127eee8 | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@gmail.com> | Thu Feb 06 08:29:49 2025 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Feb 06 12:39:03 2025 -0500 |
tree | 4acd07641b83864c3d6c6bcada59e85e771bdb05 | |
parent | 938588b02e0fd2c808cd88ad25e0d1c752514492 [diff] |
clang-tidy:openpower-dumps fix warning bugprone- Fixed the bugprone-forward-declaration-namespace warning by including the appropriate header file. This ensures that the forward declaration and definition are in the same namespace, preventing namespace-related issues. Change-Id: If65f993252d6f24a529e626544affb80bbe3e6d5 Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
diff --git a/dump-extensions/openpower-dumps/resource_dump_entry.hpp b/dump-extensions/openpower-dumps/resource_dump_entry.hpp index a3606aa..f913832 100644 --- a/dump-extensions/openpower-dumps/resource_dump_entry.hpp +++ b/dump-extensions/openpower-dumps/resource_dump_entry.hpp
@@ -2,6 +2,7 @@ #include "com/ibm/Dump/Entry/Resource/server.hpp" #include "dump_entry.hpp" +#include "dump_manager_resource.hpp" #include <sdbusplus/bus.hpp> #include <sdbusplus/server/object.hpp>
diff --git a/dump-extensions/openpower-dumps/system_dump_entry.hpp b/dump-extensions/openpower-dumps/system_dump_entry.hpp index 6e26e17..4ab801d 100644 --- a/dump-extensions/openpower-dumps/system_dump_entry.hpp +++ b/dump-extensions/openpower-dumps/system_dump_entry.hpp
@@ -1,6 +1,7 @@ #pragma once #include "dump_entry.hpp" +#include "dump_manager_system.hpp" #include "xyz/openbmc_project/Dump/Entry/System/server.hpp" #include <sdbusplus/bus.hpp>