diff options
author | Max Kellermann <max@musicpd.org> | 2017-06-04 12:57:05 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-06-04 12:57:05 +0200 |
commit | 979f1b6c39b64770f42ed125c0abf80f4938fdb5 (patch) | |
tree | 3d254376552957afc6c6c77661a60954a83e41ce /test | |
parent | 1fa1790da5a7fb1bd4a5deef36b7ed8d9c60acbc (diff) | |
parent | cf86dfd3178bcdffbb2968cda4ad9c271ffdc4f3 (diff) |
Merge tag 'v0.20.9'
release v0.20.9
Diffstat (limited to 'test')
-rw-r--r-- | test/FakeDecoderAPI.cxx | 6 | ||||
-rw-r--r-- | test/FakeDecoderAPI.hxx | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/FakeDecoderAPI.cxx b/test/FakeDecoderAPI.cxx index 2310c335c..ce915ba1e 100644 --- a/test/FakeDecoderAPI.cxx +++ b/test/FakeDecoderAPI.cxx @@ -45,7 +45,7 @@ FakeDecoder::Ready(const AudioFormat audio_format, } DecoderCommand -FakeDecoder::GetCommand() +FakeDecoder::GetCommand() noexcept { return DecoderCommand::NONE; } @@ -56,13 +56,13 @@ FakeDecoder::CommandFinished() } SongTime -FakeDecoder::GetSeekTime() +FakeDecoder::GetSeekTime() noexcept { return SongTime(); } uint64_t -FakeDecoder::GetSeekFrame() +FakeDecoder::GetSeekFrame() noexcept { return 1; } diff --git a/test/FakeDecoderAPI.hxx b/test/FakeDecoderAPI.hxx index 9fb98859c..2f6b8d9d3 100644 --- a/test/FakeDecoderAPI.hxx +++ b/test/FakeDecoderAPI.hxx @@ -34,10 +34,10 @@ struct FakeDecoder final : DecoderClient { /* virtual methods from DecoderClient */ void Ready(AudioFormat audio_format, bool seekable, SignedSongTime duration) override; - DecoderCommand GetCommand() override; + DecoderCommand GetCommand() noexcept override; void CommandFinished() override; - SongTime GetSeekTime() override; - uint64_t GetSeekFrame() override; + SongTime GetSeekTime() noexcept override; + uint64_t GetSeekFrame() noexcept override; void SeekError() override; InputStreamPtr OpenUri(const char *uri) override; size_t Read(InputStream &is, void *buffer, size_t length) override; |