diff options
-rw-r--r-- | src/config/ConfigData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigData.cxx b/src/config/ConfigData.cxx index 70e1e55ed..7b1f59bdf 100644 --- a/src/config/ConfigData.cxx +++ b/src/config/ConfigData.cxx @@ -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(); |