*: add lost of "noexcept" specifications

This commit is contained in:
Max Kellermann
2017-06-03 21:33:44 +02:00
parent 62b03cfddf
commit a057b4f6d8
65 changed files with 246 additions and 241 deletions

View File

@@ -191,7 +191,7 @@ public:
* Caller must lock the mutex.
*/
gcc_pure
bool HasClients() const {
bool HasClients() const noexcept {
return !clients.empty();
}
@@ -199,7 +199,7 @@ public:
* Check whether there is at least one client.
*/
gcc_pure
bool LockHasClients() const {
bool LockHasClients() const noexcept {
const std::lock_guard<Mutex> protect(mutex);
return HasClients();
}