event/MaskMonitor: add noexcept

This commit is contained in:
Max Kellermann
2019-04-04 19:49:00 +02:00
parent 693815bb32
commit 43677d5740
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2003-2018 The Music Player Daemon Project
* Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -20,7 +20,7 @@
#include "MaskMonitor.hxx"
void
MaskMonitor::OrMask(unsigned new_mask)
MaskMonitor::OrMask(unsigned new_mask) noexcept
{
if (pending_mask.fetch_or(new_mask) == 0)
defer.Schedule();