From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- plugins/ListeningTo/src/music.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ListeningTo/src/music.cpp') diff --git a/plugins/ListeningTo/src/music.cpp b/plugins/ListeningTo/src/music.cpp index 3ded9a24d2..7fdec99f11 100644 --- a/plugins/ListeningTo/src/music.cpp +++ b/plugins/ListeningTo/src/music.cpp @@ -37,7 +37,7 @@ void FreeMusic() { for (int i = 0; i < NUM_PLAYERS; i++) { delete players[i]; - players[i] = NULL; + players[i] = nullptr; } } @@ -146,7 +146,7 @@ int ChangedListeningInfo() LISTENINGTOINFO * GetListeningInfo() { if (current.cbSize == 0) - return NULL; + return nullptr; return ¤t; } -- cgit v1.2.3