diff --git a/src/encoder/plugins/ShineEncoderPlugin.cxx b/src/encoder/plugins/ShineEncoderPlugin.cxx index 6eb7b0a79..4479d5181 100644 --- a/src/encoder/plugins/ShineEncoderPlugin.cxx +++ b/src/encoder/plugins/ShineEncoderPlugin.cxx @@ -91,7 +91,7 @@ public: /* virtual methods from class PreparedEncoder */ Encoder *Open(AudioFormat &audio_format) override; - const char *GetMimeType() const noexcept override { + [[nodiscard]] const char *GetMimeType() const noexcept override { return "audio/mpeg"; } };