summaryrefslogtreecommitdiff
path: root/src/command/FingerprintCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/FingerprintCommands.cxx')
-rw-r--r--src/command/FingerprintCommands.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command/FingerprintCommands.cxx b/src/command/FingerprintCommands.cxx
index 30599ec99..460275afe 100644
--- a/src/command/FingerprintCommands.cxx
+++ b/src/command/FingerprintCommands.cxx
@@ -83,7 +83,8 @@ private:
/* virtual methods from class DecoderClient */
InputStreamPtr OpenUri(const char *uri) override;
- size_t Read(InputStream &is, void *buffer, size_t length) override;
+ size_t Read(InputStream &is,
+ void *buffer, size_t length) noexcept override;
/* virtual methods from class InputStreamHandler */
void OnInputStreamReady() noexcept override {
@@ -285,7 +286,8 @@ GetChromaprintCommand::OpenUri(const char *uri2)
}
size_t
-GetChromaprintCommand::Read(InputStream &is, void *buffer, size_t length)
+GetChromaprintCommand::Read(InputStream &is,
+ void *buffer, size_t length) noexcept
{
/* overriding ChromaprintDecoderClient's implementation to
make it cancellable */