mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
LibVideo: Make DecoderError getters const
This commit is contained in:
parent
cea7386ea8
commit
91fbfe1773
Notes:
sideshowbarker
2024-07-17 08:42:05 +09:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/SerenityOS/serenity/commit/91fbfe1773 Pull-request: https://github.com/SerenityOS/serenity/pull/15850
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());
|
||||
}
|
||||
|
||||
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