summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/MemoryStream.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCore/MemoryStream.h')
-rw-r--r--Userland/Libraries/LibCore/MemoryStream.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibCore/MemoryStream.h b/Userland/Libraries/LibCore/MemoryStream.h
index 6ef811fa92..e46ed0da0c 100644
--- a/Userland/Libraries/LibCore/MemoryStream.h
+++ b/Userland/Libraries/LibCore/MemoryStream.h
@@ -45,19 +45,19 @@ public:
switch (seek_mode) {
case SeekMode::SetPosition:
if (offset >= static_cast<i64>(m_bytes.size()))
- return Error::from_string_literal("Offset past the end of the stream memory"sv);
+ return Error::from_string_literal("Offset past the end of the stream memory");
m_offset = offset;
break;
case SeekMode::FromCurrentPosition:
if (offset + static_cast<i64>(m_offset) >= static_cast<i64>(m_bytes.size()))
- return Error::from_string_literal("Offset past the end of the stream memory"sv);
+ return Error::from_string_literal("Offset past the end of the stream memory");
m_offset += offset;
break;
case SeekMode::FromEndPosition:
if (offset >= static_cast<i64>(m_bytes.size()))
- return Error::from_string_literal("Offset past the start of the stream memory"sv);
+ return Error::from_string_literal("Offset past the start of the stream memory");
m_offset = m_bytes.size() - offset;
break;