summaryrefslogtreecommitdiff
path: root/redfish-core/lib/account_service.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/account_service.hpp')
-rw-r--r--redfish-core/lib/account_service.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/account_service.hpp b/redfish-core/lib/account_service.hpp
index 7f34949fae..07efeb5b39 100644
--- a/redfish-core/lib/account_service.hpp
+++ b/redfish-core/lib/account_service.hpp
@@ -488,8 +488,8 @@ inline void getLDAPConfigData(const std::string& ldapType,
}
}
- confData.groupRoleList.push_back(std::make_pair(
- object.first.str, roleMapData));
+ confData.groupRoleList.emplace_back(
+ object.first.str, roleMapData);
}
}
}