From 445bd865339b81e7cba825eec1035f20cb564cb8 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Sun, 20 Sep 2020 16:43:19 +0430 Subject: LibMarkdown: Make Text default-constructible and move-assignable --- Libraries/LibMarkdown/Text.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Libraries/LibMarkdown/Text.h') diff --git a/Libraries/LibMarkdown/Text.h b/Libraries/LibMarkdown/Text.h index 00542c4e3b..ca24a84a54 100644 --- a/Libraries/LibMarkdown/Text.h +++ b/Libraries/LibMarkdown/Text.h @@ -50,6 +50,9 @@ public: }; Text(Text&& text) = default; + Text() = default; + + Text& operator=(Text&&) = default; const Vector& spans() const { return m_spans; } -- cgit v1.2.3