diff options
author | Max Kellermann <max@duempel.org> | 2014-12-30 23:26:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-30 23:26:54 +0100 |
commit | 2a5feb225b0c2232fd20b46809ee49758cb4f93a (patch) | |
tree | cc1c382dd3a5bc2fd26597ba156bdd3b4941510f | |
parent | 970e33884712f3dd629f7910598fe7f7c759fd59 (diff) | |
download | mpd-2a5feb225b0c2232fd20b46809ee49758cb4f93a.tar.gz mpd-2a5feb225b0c2232fd20b46809ee49758cb4f93a.tar.xz mpd-2a5feb225b0c2232fd20b46809ee49758cb4f93a.zip |
ConfigData: use nullptr instead of NULL
Diffstat (limited to '')
-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(); |