From c3a9c8dd3195f73fb2880ee261953a90c73d52e4 Mon Sep 17 00:00:00 2001 From: William JCM Date: Tue, 22 Nov 2022 10:23:53 +0100 Subject: [PATCH] ToastQueue: use strings for data instead of views. Why the fuck didn't I catch that sooner ? --- src/ToastQueue/ToastQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ToastQueue/ToastQueue.h b/src/ToastQueue/ToastQueue.h index bf9e7de..fe0fc42 100644 --- a/src/ToastQueue/ToastQueue.h +++ b/src/ToastQueue/ToastQueue.h @@ -62,7 +62,7 @@ class Toast { private: Type _type{Type::Default}; - Containers::StringView _message; + Containers::String _message; std::chrono::milliseconds _timeout; std::chrono::steady_clock::time_point _creationTime; Animation::Track _phaseTrack;