summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2020-09-20 16:43:19 +0430
committerAndreas Kling <kling@serenityos.org>2020-09-27 21:14:18 +0200
commit445bd865339b81e7cba825eec1035f20cb564cb8 (patch)
tree69e5f3456fff87a85f611338072f2743f97ddbe3
parentaa65f664a97abca040663768936b59fa29c2a9e6 (diff)
downloadserenity-445bd865339b81e7cba825eec1035f20cb564cb8.zip
LibMarkdown: Make Text default-constructible and move-assignable
-rw-r--r--Libraries/LibMarkdown/Text.h3
1 files changed, 3 insertions, 0 deletions
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<Span>& spans() const { return m_spans; }