summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo/src/music.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:03:31 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2017-11-13 15:07:33 +0100
commita7c24ca48995cf2bf436156302f96b91bf135409 (patch)
tree953835509ff1b778833e78fd7b74b05e05e77c84 /plugins/ListeningTo/src/music.cpp
parent591ec17b1c99db7f120c22ca9fb20ae05fe78325 (diff)
Code modernize ...
* replace 0/NULL with nullptr [using clang-tidy]
Diffstat (limited to 'plugins/ListeningTo/src/music.cpp')
-rw-r--r--plugins/ListeningTo/src/music.cpp4
1 files changed, 2 insertions, 2 deletions
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 &current;
}