summaryrefslogtreecommitdiff
path: root/src/event
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-04 12:57:05 +0200
committerMax Kellermann <max@musicpd.org>2017-06-04 12:57:05 +0200
commit979f1b6c39b64770f42ed125c0abf80f4938fdb5 (patch)
tree3d254376552957afc6c6c77661a60954a83e41ce /src/event
parent1fa1790da5a7fb1bd4a5deef36b7ed8d9c60acbc (diff)
parentcf86dfd3178bcdffbb2968cda4ad9c271ffdc4f3 (diff)
Merge tag 'v0.20.9'
release v0.20.9
Diffstat (limited to 'src/event')
-rw-r--r--src/event/Loop.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx
index f1962b4df..1060a8769 100644
--- a/src/event/Loop.hxx
+++ b/src/event/Loop.hxx
@@ -199,7 +199,7 @@ public:
* Are we currently running inside this EventLoop's thread?
*/
gcc_pure
- bool IsInside() const {
+ bool IsInside() const noexcept {
assert(!thread.IsNull());
return thread.IsInside();
@@ -207,7 +207,7 @@ public:
#ifndef NDEBUG
gcc_pure
- bool IsInsideOrVirgin() const {
+ bool IsInsideOrVirgin() const noexcept {
return virgin || IsInside();
}
#endif
@@ -219,7 +219,7 @@ public:
* are not yet/anymore handled.
*/
gcc_pure
- bool IsInsideOrNull() const {
+ bool IsInsideOrNull() const noexcept {
return thread.IsNull() || thread.IsInside();
}
};