diff options
author | Max Kellermann <max@duempel.org> | 2013-09-05 09:40:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-09-05 09:40:32 +0200 |
commit | 5348808bf594de927cc64eebae9118d6971343b1 (patch) | |
tree | f5e064c1510d476a6391c1f24059036931c2231e /src/ConfigGlobal.hxx | |
parent | fccba1af2aae9a90f117b3ae2232f5b60a7e9f63 (diff) | |
download | mpd-5348808bf594de927cc64eebae9118d6971343b1.tar.gz mpd-5348808bf594de927cc64eebae9118d6971343b1.tar.xz mpd-5348808bf594de927cc64eebae9118d6971343b1.zip |
PlaylistPlugin, ConfigGlobal: use nullptr instead of NULL
Diffstat (limited to 'src/ConfigGlobal.hxx')
-rw-r--r-- | src/ConfigGlobal.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ConfigGlobal.hxx b/src/ConfigGlobal.hxx index b4aa5fd85..c49679942 100644 --- a/src/ConfigGlobal.hxx +++ b/src/ConfigGlobal.hxx @@ -23,8 +23,6 @@ #include "ConfigOption.hxx" #include "gcc.h" -#include <stddef.h> - class Error; class Path; @@ -41,7 +39,7 @@ bool ReadConfigFile(const Path &path, Error &error); /* don't free the returned value - set _last_ to NULL to get first entry */ + set _last_ to nullptr to get first entry */ gcc_pure const struct config_param * config_get_next_param(enum ConfigOption option, @@ -51,7 +49,7 @@ gcc_pure static inline const struct config_param * config_get_param(enum ConfigOption option) { - return config_get_next_param(option, NULL); + return config_get_next_param(option, nullptr); } /* Note on gcc_pure: Some of the functions declared pure are not |