summaryrefslogtreecommitdiff
path: root/redfish-core/include/privileges.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/privileges.hpp')
-rw-r--r--redfish-core/include/privileges.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/privileges.hpp b/redfish-core/include/privileges.hpp
index 62276815c3..08e554a86c 100644
--- a/redfish-core/include/privileges.hpp
+++ b/redfish-core/include/privileges.hpp
@@ -110,7 +110,7 @@ class Privileges
* @return None
*
*/
- bool setSinglePrivilege(const std::string_view privilege)
+ bool setSinglePrivilege(std::string_view privilege)
{
for (size_t searchIndex = 0; searchIndex < privilegeNames.size();
searchIndex++)