From 0214baad5affb78bf64c7774ba48693a3c6d15ee Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Oct 2013 08:13:28 +0200 Subject: Playlist*: use nullptr instead of NULL --- src/PlaylistRegistry.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PlaylistRegistry.hxx') diff --git a/src/PlaylistRegistry.hxx b/src/PlaylistRegistry.hxx index 350987012..aa6c36b85 100644 --- a/src/PlaylistRegistry.hxx +++ b/src/PlaylistRegistry.hxx @@ -31,7 +31,7 @@ extern const struct playlist_plugin *const playlist_plugins[]; #define playlist_plugins_for_each(plugin) \ for (const struct playlist_plugin *plugin, \ *const*playlist_plugin_iterator = &playlist_plugins[0]; \ - (plugin = *playlist_plugin_iterator) != NULL; \ + (plugin = *playlist_plugin_iterator) != nullptr; \ ++playlist_plugin_iterator) /** @@ -75,7 +75,7 @@ playlist_suffix_supported(const char *suffix); * @param path_fs the path of the playlist file * @param is_r on success, an input_stream object is returned here, * which must be closed after the playlist_provider object is freed - * @return a playlist, or NULL on error + * @return a playlist, or nullptr on error */ SongEnumerator * playlist_list_open_path(const char *path_fs, Mutex &mutex, Cond &cond, -- cgit v1.2.3