event/MaskMonitor: add noexcept
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user