summaryrefslogtreecommitdiff
path: root/src/music/null_m.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-04-10 22:07:06 +0100
committerMichael Lutz <michi@icosahedron.de>2019-04-10 23:22:20 +0200
commit7c8e7c6b6e16d4a26259a676db32d8776b99817e (patch)
tree99f134b7e66367cf11e10bc5061896eab4a3264f /src/music/null_m.h
parent3b4f224c0bc50e7248050d4bcbb6d83fd510c1cc (diff)
downloadopenttd-7c8e7c6b6e16d4a26259a676db32d8776b99817e.tar.xz
Codechange: Use null pointer literal instead of the NULL macro
Diffstat (limited to 'src/music/null_m.h')
-rw-r--r--src/music/null_m.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music/null_m.h b/src/music/null_m.h
index 837eeb092..8eb7d6792 100644
--- a/src/music/null_m.h
+++ b/src/music/null_m.h
@@ -17,7 +17,7 @@
/** The music player that does nothing. */
class MusicDriver_Null : public MusicDriver {
public:
- const char *Start(const char * const *param) override { return NULL; }
+ const char *Start(const char * const *param) override { return nullptr; }
void Stop() override { }