mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:17:35 +00:00
LibVideo: Make DecoderError getters const
This commit is contained in:
parent
cea7386ea8
commit
91fbfe1773
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,9 @@ public:
|
||||||
return DecoderError::format(DecoderErrorCategory::NotImplemented, "{} is not implemented", location.function_name());
|
return DecoderError::format(DecoderErrorCategory::NotImplemented, "{} is not implemented", location.function_name());
|
||||||
}
|
}
|
||||||
|
|
||||||
DecoderErrorCategory category() { return m_category; }
|
DecoderErrorCategory category() const { return m_category; }
|
||||||
StringView description() { return m_description; }
|
StringView description() const { return m_description; }
|
||||||
StringView string_literal() { return m_description; }
|
StringView string_literal() const { return m_description; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
DecoderError(DecoderErrorCategory category, String description)
|
DecoderError(DecoderErrorCategory category, String description)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue