aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
commit59f8144c50765189594d5932fc25869f9ea6e265 (patch)
treef460d9f46a99040dea402bcb3ad2d84a0e734285 /src/IOThread.cxx
parent5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff)
downloadmpd-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.cxx8
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();
}