From 91fbfe17738d3a6daf2a1bf943186559d70a5825 Mon Sep 17 00:00:00 2001 From: Zaggy1024 Date: Sat, 29 Oct 2022 18:34:15 -0500 Subject: [PATCH] LibVideo: Make DecoderError getters const --- Userland/Libraries/LibVideo/DecoderError.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Libraries/LibVideo/DecoderError.h b/Userland/Libraries/LibVideo/DecoderError.h index 0f72034628d..514e18fa761 100644 --- a/Userland/Libraries/LibVideo/DecoderError.h +++ b/Userland/Libraries/LibVideo/DecoderError.h @@ -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)