diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
commit | 59f8144c50765189594d5932fc25869f9ea6e265 (patch) | |
tree | f460d9f46a99040dea402bcb3ad2d84a0e734285 /src/IOThread.cxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to 'src/IOThread.cxx')
-rw-r--r-- | src/IOThread.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/IOThread.cxx b/src/IOThread.cxx index d8805ba7b..a14f12eb1 100644 --- a/src/IOThread.cxx +++ b/src/IOThread.cxx @@ -40,7 +40,7 @@ void io_thread_run(void) { assert(io_thread_inside()); - assert(io.loop != NULL); + assert(io.loop != nullptr); io.loop->Run(); } @@ -59,7 +59,7 @@ io_thread_func(gcc_unused void *arg) void io_thread_init(void) { - assert(io.loop == NULL); + assert(io.loop == nullptr); assert(!io.thread.IsDefined()); io.loop = new EventLoop(); @@ -68,7 +68,7 @@ io_thread_init(void) void io_thread_start() { - assert(io.loop != NULL); + assert(io.loop != nullptr); assert(!io.thread.IsDefined()); const ScopeLock protect(io.mutex); @@ -81,7 +81,7 @@ io_thread_start() void io_thread_quit(void) { - assert(io.loop != NULL); + assert(io.loop != nullptr); io.loop->Break(); } |