Commit 2a5feb22 authored by Max Kellermann's avatar Max Kellermann

ConfigData: use nullptr instead of NULL

parent 970e3388
...@@ -80,7 +80,7 @@ config_param::GetBlockParam(const char *name) const ...@@ -80,7 +80,7 @@ config_param::GetBlockParam(const char *name) const
} }
} }
return NULL; return nullptr;
} }
const char * const char *
...@@ -152,7 +152,7 @@ bool ...@@ -152,7 +152,7 @@ bool
config_param::GetBlockValue(const char *name, bool default_value) const config_param::GetBlockValue(const char *name, bool default_value) const
{ {
const block_param *bp = GetBlockParam(name); const block_param *bp = GetBlockParam(name);
if (bp == NULL) if (bp == nullptr)
return default_value; return default_value;
return bp->GetBoolValue(); return bp->GetBoolValue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment