From 5348808bf594de927cc64eebae9118d6971343b1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 5 Sep 2013 09:40:32 +0200 Subject: PlaylistPlugin, ConfigGlobal: use nullptr instead of NULL --- src/ConfigGlobal.hxx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ConfigGlobal.hxx') 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 - 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 -- cgit v1.2.3