Add missing inline
Tested:
Code compiles in clang
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: Ib7377d05441328197e1de59fabc0ca9bfa0b703b
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp
index f674766..213237c 100644
--- a/redfish-core/lib/managers.hpp
+++ b/redfish-core/lib/managers.hpp
@@ -66,7 +66,7 @@
interfaceName, destProperty, dbusPropertyValue);
}
-void doBMCForceRestart(std::shared_ptr<AsyncResp> asyncResp)
+inline void doBMCForceRestart(std::shared_ptr<AsyncResp> asyncResp)
{
const char* processName = "xyz.openbmc_project.State.BMC";
const char* objectPath = "/xyz/openbmc_project/state/bmc0";