Make system handlers inline
This makes our code compile on clang again.
Tested: meson build set up with clang++-13 succeeds.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I99c45de3206cbfdff2152487d3be64b0f631fe4c
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp
index 76fcd59..24e6d41 100644
--- a/redfish-core/lib/systems.hpp
+++ b/redfish-core/lib/systems.hpp
@@ -2842,7 +2842,7 @@
});
}
-void handleComputerSystemCollectionHead(
+inline void handleComputerSystemCollectionHead(
App& app, const crow::Request& req,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
{
@@ -3114,7 +3114,7 @@
});
}
-void handleSystemCollectionResetActionHead(
+inline void handleSystemCollectionResetActionHead(
crow::App& app, const crow::Request& req,
const std::shared_ptr<bmcweb::AsyncResp>& asyncResp)
{