mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-16 06:30:41 +00:00
LibVideo: Make DecoderError getters const
This commit is contained in:
parent
cea7386ea8
commit
91fbfe1773
|
@ -55,9 +55,9 @@ public:
|
|||
return DecoderError::format(DecoderErrorCategory::NotImplemented, "{} is not implemented", location.function_name());
|
||||
}
|
||||
|
||||
DecoderErrorCategory category() { return m_category; }
|
||||
StringView description() { return m_description; }
|
||||
StringView string_literal() { return m_description; }
|
||||
DecoderErrorCategory category() const { return m_category; }
|
||||
StringView description() const { return m_description; }
|
||||
StringView string_literal() const { return m_description; }
|
||||
|
||||
private:
|
||||
DecoderError(DecoderErrorCategory category, String description)
|
||||
|
|
Loading…
Reference in a new issue