diff options
author | Ed Tanous <edtanous@google.com> | 2022-09-02 02:37:27 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-09-07 21:14:01 +0300 |
commit | 38c8a6f28b69ed4a08b8d20056db37dac071c05c (patch) | |
tree | e2011e58ae93092af3c4bc778cc667c8deeee7a0 | |
parent | 894744945e8f40a93fbcd6c100c92e0cf5b0ef67 (diff) | |
download | bmcweb-38c8a6f28b69ed4a08b8d20056db37dac071c05c.tar.xz |
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
-rw-r--r-- | redfish-core/lib/systems.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index 76fcd59caa..24e6d4101e 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -2842,7 +2842,7 @@ inline void requestRoutesSystemActionsReset(App& app) }); } -void handleComputerSystemCollectionHead( +inline void handleComputerSystemCollectionHead( App& app, const crow::Request& req, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { @@ -3114,7 +3114,7 @@ inline void requestRoutesSystems(App& app) }); } -void handleSystemCollectionResetActionHead( +inline void handleSystemCollectionResetActionHead( crow::App& app, const crow::Request& req, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { |