aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputFinish.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/OutputFinish.cxx')
-rw-r--r--src/OutputFinish.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputFinish.cxx b/src/OutputFinish.cxx
index db6599b53..b19f4c402 100644
--- a/src/OutputFinish.cxx
+++ b/src/OutputFinish.cxx
@@ -29,7 +29,7 @@ void
ao_base_finish(struct audio_output *ao)
{
assert(!ao->open);
- assert(ao->fail_timer == nullptr);
+ assert(!ao->fail_timer.IsDefined());
assert(!ao->thread.IsDefined());
if (ao->mixer != nullptr)
@@ -44,7 +44,7 @@ void
audio_output_free(struct audio_output *ao)
{
assert(!ao->open);
- assert(ao->fail_timer == nullptr);
+ assert(!ao->fail_timer.IsDefined());
assert(!ao->thread.IsDefined());
ao_plugin_finish(ao);