diff options
author | Ed Tanous <ed@tanous.net> | 2020-09-11 23:41:59 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2020-09-12 00:06:31 +0300 |
commit | 1536473f93d6985d8021e154316f52bb1de0d3c2 (patch) | |
tree | 5ea01bf85e2d06fa0bba0b5494c09e1cbf1fad82 | |
parent | b74e4405a20d1212b5e5ac73854b86007c716d51 (diff) | |
download | bmcweb-1536473f93d6985d8021e154316f52bb1de0d3c2.tar.xz |
Add missing inline
Tested:
Code compiles in clang
Signed-off-by: Ed Tanous <ed@tanous.net>
Change-Id: Ib7377d05441328197e1de59fabc0ca9bfa0b703b
-rw-r--r-- | redfish-core/lib/managers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp index f6747660da..213237c72d 100644 --- a/redfish-core/lib/managers.hpp +++ b/redfish-core/lib/managers.hpp @@ -66,7 +66,7 @@ inline void doBMCGracefulRestart(std::shared_ptr<AsyncResp> asyncResp) 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"; |