diff options
Diffstat (limited to 'Userland/Libraries/LibCore/SharedCircularQueue.h')
-rw-r--r-- | Userland/Libraries/LibCore/SharedCircularQueue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCore/SharedCircularQueue.h b/Userland/Libraries/LibCore/SharedCircularQueue.h index 3b89d60e9c..b863a60e5b 100644 --- a/Userland/Libraries/LibCore/SharedCircularQueue.h +++ b/Userland/Libraries/LibCore/SharedCircularQueue.h @@ -118,7 +118,7 @@ public: if (!result.is_error()) break; if (result.error() != QueueStatus::Full) - return Error::from_string_literal("Unexpected error while enqueuing"sv); + return Error::from_string_literal("Unexpected error while enqueuing"); wait_function(); } @@ -208,7 +208,7 @@ private: SharedMemorySPCQ* shared_queue = is_new ? new (raw_mapping) SharedMemorySPCQ() : reinterpret_cast<SharedMemorySPCQ*>(raw_mapping); if (!shared_queue) - return Error::from_string_literal("Unexpected error when creating shared queue from raw memory"sv); + return Error::from_string_literal("Unexpected error when creating shared queue from raw memory"); return SharedSingleProducerCircularQueue<T, Size> { move(name), adopt_ref(*new (nothrow) RefCountedSharedMemorySPCQ(shared_queue, fd)) }; } |