aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigData.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-30 23:26:54 +0100
committerMax Kellermann <max@duempel.org>2014-12-30 23:26:54 +0100
commit2a5feb225b0c2232fd20b46809ee49758cb4f93a (patch)
treecc1c382dd3a5bc2fd26597ba156bdd3b4941510f /src/config/ConfigData.cxx
parent970e33884712f3dd629f7910598fe7f7c759fd59 (diff)
downloadmpd-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.cxx4
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();