Commit cade4e71 authored by Rosen Penev's avatar Rosen Penev Committed by Max Kellermann

[clang-tidy] add [[nodiscard]]

Found with modernize-use-nodiscard Signed-off-by: 's avatarRosen Penev <rosenp@gmail.com>
parent 403612c6
......@@ -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";
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment