summaryrefslogtreecommitdiff
path: root/src/event/MaskMonitor.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-10 21:09:54 +0100
committerMax Kellermann <max@musicpd.org>2017-11-10 21:10:46 +0100
commit42ad753e39830f446147c01d348da0b762fdaad9 (patch)
treebd4e0186648cc96eef165b7a9b95813978a7b268 /src/event/MaskMonitor.cxx
parent1ccd2a7b11ab9e3a2a867e8a8086979e3339279f (diff)
event/MaskMonitor: migrate from DeferredMonitor to DeferEvent
Diffstat (limited to 'src/event/MaskMonitor.cxx')
-rw-r--r--src/event/MaskMonitor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/MaskMonitor.cxx b/src/event/MaskMonitor.cxx
index c22ba36e2..d69329b1d 100644
--- a/src/event/MaskMonitor.cxx
+++ b/src/event/MaskMonitor.cxx
@@ -24,11 +24,11 @@ void
MaskMonitor::OrMask(unsigned new_mask)
{
if (pending_mask.fetch_or(new_mask) == 0)
- DeferredMonitor::Schedule();
+ defer.Schedule();
}
void
-MaskMonitor::RunDeferred()
+MaskMonitor::RunDeferred() noexcept
{
const unsigned mask = pending_mask.exchange(0);
if (mask != 0)