diff options
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
-rw-r--r-- | redfish-core/lib/account_service.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp index e6fe2051d0..cfd47a85c5 100644 --- a/redfish-core/lib/account_service.hpp +++ b/redfish-core/lib/account_service.hpp @@ -1143,9 +1143,9 @@ inline void updateUserProperties(std::shared_ptr<bmcweb::AsyncResp> asyncResp, dbus::utility::checkDbusPathExists( dbusObjectPath, - [dbusObjectPath(std::move(dbusObjectPath)), username, - password(std::move(password)), roleId(std::move(roleId)), enabled, - locked, asyncResp{std::move(asyncResp)}](int rc) { + [dbusObjectPath, username, password(std::move(password)), + roleId(std::move(roleId)), enabled, locked, + asyncResp{std::move(asyncResp)}](int rc) { if (!rc) { messages::resourceNotFound( |