diff options
Diffstat (limited to 'src/player')
-rw-r--r-- | src/player/Thread.cxx | 4 |
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(); } |