*: 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

@@ -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();
}