summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/PortableImageMapLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/PortableImageMapLoader.h')
-rw-r--r--Userland/Libraries/LibGfx/PortableImageMapLoader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibGfx/PortableImageMapLoader.h b/Userland/Libraries/LibGfx/PortableImageMapLoader.h
index 994a86961c..ab5a466406 100644
--- a/Userland/Libraries/LibGfx/PortableImageMapLoader.h
+++ b/Userland/Libraries/LibGfx/PortableImageMapLoader.h
@@ -145,15 +145,15 @@ template<typename TContext>
ErrorOr<ImageFrameDescriptor> PortableImageDecoderPlugin<TContext>::frame(size_t index)
{
if (index > 0)
- return Error::from_string_literal("PortableImageDecoderPlugin: Invalid frame index"sv);
+ return Error::from_string_literal("PortableImageDecoderPlugin: Invalid frame index");
if (m_context->state == TContext::State::Error)
- return Error::from_string_literal("PortableImageDecoderPlugin: Decoding failed"sv);
+ return Error::from_string_literal("PortableImageDecoderPlugin: Decoding failed");
if (m_context->state < TContext::State::Decoded) {
bool success = decode(*m_context);
if (!success)
- return Error::from_string_literal("PortableImageDecoderPlugin: Decoding failed"sv);
+ return Error::from_string_literal("PortableImageDecoderPlugin: Decoding failed");
}
VERIFY(m_context->bitmap);