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.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/redfish-core/include/privileges.hpp b/redfish-core/include/privileges.hpp
index bb2c2f3024..8b4220847b 100644
--- a/redfish-core/include/privileges.hpp
+++ b/redfish-core/include/privileges.hpp
@@ -102,8 +102,8 @@ class Privileges
{
if (!setSinglePrivilege(privilege))
{
- BMCWEB_LOG_CRITICAL << "Unable to set privilege " << privilege
- << "in constructor";
+ BMCWEB_LOG_CRITICAL("Unable to set privilege {}in constructor",
+ privilege);
}
}
}
@@ -295,10 +295,10 @@ inline bool isOperationAllowedWithPrivileges(
}
for (const auto& requiredPrivileges : operationPrivilegesRequired)
{
- BMCWEB_LOG_DEBUG << "Checking operation privileges...";
+ BMCWEB_LOG_DEBUG("Checking operation privileges...");
if (userPrivileges.isSupersetOf(requiredPrivileges))
{
- BMCWEB_LOG_DEBUG << "...success";
+ BMCWEB_LOG_DEBUG("...success");
return true;
}
}