summaryrefslogtreecommitdiff
path: root/redfish-core/lib/cpudimm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/lib/cpudimm.hpp')
-rw-r--r--redfish-core/lib/cpudimm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/cpudimm.hpp b/redfish-core/lib/cpudimm.hpp
index d8d419195a..ce36a0b9e5 100644
--- a/redfish-core/lib/cpudimm.hpp
+++ b/redfish-core/lib/cpudimm.hpp
@@ -71,8 +71,8 @@ void getCpuDataByInterface(std::shared_ptr<AsyncResp> aResp,
{
BMCWEB_LOG_DEBUG << "Get CPU resources by interface.";
- const bool *present = NULL;
- const bool *functional = NULL;
+ const bool *present = nullptr;
+ const bool *functional = nullptr;
for (const auto &interface : cpuInterfacesProperties)
{
for (const auto &property : interface.second)