From 20597b3632d3b6e25ba532716106f90d5b64d0e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Oct 2013 23:58:17 +0100 Subject: *: use nullptr instead of NULL --- src/playlist/CuePlaylistPlugin.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/playlist/CuePlaylistPlugin.cxx') diff --git a/src/playlist/CuePlaylistPlugin.cxx b/src/playlist/CuePlaylistPlugin.cxx index 0ec030a54..42a43bbad 100644 --- a/src/playlist/CuePlaylistPlugin.cxx +++ b/src/playlist/CuePlaylistPlugin.cxx @@ -52,14 +52,14 @@ Song * CuePlaylist::NextSong() { Song *song = parser.Get(); - if (song != NULL) + if (song != nullptr) return song; std::string line; while (tis.ReadLine(line)) { parser.Feed(line.c_str()); song = parser.Get(); - if (song != NULL) + if (song != nullptr) return song; } @@ -69,12 +69,12 @@ CuePlaylist::NextSong() static const char *const cue_playlist_suffixes[] = { "cue", - NULL + nullptr }; static const char *const cue_playlist_mime_types[] = { "application/x-cue", - NULL + nullptr }; const struct playlist_plugin cue_playlist_plugin = { -- cgit v1.2.3