ConfigData: use nullptr instead of NULL

This commit is contained in:
Max Kellermann 2014-12-30 23:26:54 +01:00
parent 970e338847
commit 2a5feb225b
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ config_param::GetBlockParam(const char *name) const
}
}
return NULL;
return nullptr;
}
const char *
@ -152,7 +152,7 @@ bool
config_param::GetBlockValue(const char *name, bool default_value) const
{
const block_param *bp = GetBlockParam(name);
if (bp == NULL)
if (bp == nullptr)
return default_value;
return bp->GetBoolValue();