summaryrefslogtreecommitdiff
path: root/redfish-core/lib
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2021-11-13 20:41:41 +0300
committerEd Tanous <ed@tanous.net>2021-11-16 01:13:34 +0300
commitf6674220424eaacda4450a50e8650dc04399126f (patch)
tree3cde0d0bbc6a6db3a0ce470425a172f1c96f6110 /redfish-core/lib
parente9cc517271fe60b4e729bda002509efe482d5901 (diff)
downloadbmcweb-f6674220424eaacda4450a50e8650dc04399126f.tar.xz
Fix build on clang
New code was missing an inline parameter on a method. Tested: Code now compiles on clang. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I1256c70d37df82c92080667531e98c49b35e7d0b
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 b94612c2ff..fc9ad81c77 100644
--- a/redfish-core/lib/systems.hpp
+++ b/redfish-core/lib/systems.hpp
@@ -2479,8 +2479,8 @@ using ipsPropertiesType =
*
* @return true if successful
*/
-bool parseIpsProperties(const std::shared_ptr<bmcweb::AsyncResp>& aResp,
- ipsPropertiesType& properties)
+inline bool parseIpsProperties(const std::shared_ptr<bmcweb::AsyncResp>& aResp,
+ ipsPropertiesType& properties)
{
for (const auto& property : properties)
{