Mark getters in audio layer as [[nodiscard]]

This commit is contained in:
Tom Lankhorst authored and Gymnasiast committed 2020-04-24 18:38:11 +02:00
1 parent 37e9270c00
commit da0c586fad
4 files changed
+25 -25

No files matched your search

+2 -2
View File
@@ -42,12 +42,12 @@ namespace OpenRCT2::Audio
Unload();
}
uint64_t GetLength() const override
[[nodiscard]] uint64_t GetLength() const override
{
return _length;
}
AudioFormat GetFormat() const override
[[nodiscard]] AudioFormat GetFormat() const override
{
return _format;
}