diff options
author | Max Kellermann <max@musicpd.org> | 2017-06-03 21:33:44 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-06-04 12:46:48 +0200 |
commit | a057b4f6d88f7bfc1d9846e14de5617a4c281c0d (patch) | |
tree | 88c49e29042c500104827ac3d6e64bd447e1b4bf /src/MusicPipe.cxx | |
parent | 62b03cfddf74c25d0b8187ce5e56d31ef49667b7 (diff) |
*: add lost of "noexcept" specifications
Diffstat (limited to 'src/MusicPipe.cxx')
-rw-r--r-- | src/MusicPipe.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MusicPipe.cxx b/src/MusicPipe.cxx index c82faa648..9dd2a7a8f 100644 --- a/src/MusicPipe.cxx +++ b/src/MusicPipe.cxx @@ -39,7 +39,7 @@ MusicPipe::Contains(const MusicChunk *chunk) const noexcept #endif MusicChunk * -MusicPipe::Shift() +MusicPipe::Shift() noexcept { const std::lock_guard<Mutex> protect(mutex); @@ -73,7 +73,7 @@ MusicPipe::Shift() } void -MusicPipe::Clear(MusicBuffer &buffer) +MusicPipe::Clear(MusicBuffer &buffer) noexcept { MusicChunk *chunk; @@ -82,7 +82,7 @@ MusicPipe::Clear(MusicBuffer &buffer) } void -MusicPipe::Push(MusicChunk *chunk) +MusicPipe::Push(MusicChunk *chunk) noexcept { assert(!chunk->IsEmpty()); assert(chunk->length == 0 || chunk->audio_format.IsValid()); |