forked from rosebudai/OpenRCT2-Web
Mark getters in audio layer as [[nodiscard]]
This commit is contained in:
1 parent
37e9270c00
commit
da0c586fad
4 files changed
+25
-25
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user