summaryrefslogtreecommitdiff
path: root/src/player
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-06-03 21:33:44 +0200
committerMax Kellermann <max@musicpd.org>2017-06-04 12:46:48 +0200
commita057b4f6d88f7bfc1d9846e14de5617a4c281c0d (patch)
tree88c49e29042c500104827ac3d6e64bd447e1b4bf /src/player
parent62b03cfddf74c25d0b8187ce5e56d31ef49667b7 (diff)
*: add lost of "noexcept" specifications
Diffstat (limited to 'src/player')
-rw-r--r--src/player/Thread.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player/Thread.cxx b/src/player/Thread.cxx
index 3e7ef8f90..4cbe1653b 100644
--- a/src/player/Thread.cxx
+++ b/src/player/Thread.cxx
@@ -247,7 +247,7 @@ private:
* finished.
*/
gcc_pure
- bool IsDecoderAtCurrentSong() const {
+ bool IsDecoderAtCurrentSong() const noexcept {
assert(pipe != nullptr);
return dc.pipe == pipe;
@@ -259,7 +259,7 @@ private:
* switched to that song yet.
*/
gcc_pure
- bool IsDecoderAtNextSong() const {
+ bool IsDecoderAtNextSong() const noexcept {
return dc.pipe != nullptr && !IsDecoderAtCurrentSong();
}