summaryrefslogtreecommitdiff
path: root/redfish-core/lib
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-09-02 02:37:27 +0300
committerEd Tanous <ed@tanous.net>2022-09-07 21:14:01 +0300
commit38c8a6f28b69ed4a08b8d20056db37dac071c05c (patch)
treee2011e58ae93092af3c4bc778cc667c8deeee7a0 /redfish-core/lib
parent894744945e8f40a93fbcd6c100c92e0cf5b0ef67 (diff)
downloadbmcweb-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
Diffstat (limited to 'redfish-core/lib')
-rw-r--r--redfish-core/lib/systems.hpp4
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)
{