[clang-tidy] add [[nodiscard]]
Found with modernize-use-nodiscard Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
403612c666
commit
cade4e71c4
@ -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";
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user