diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-09-20 16:43:19 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-27 21:14:18 +0200 |
commit | 445bd865339b81e7cba825eec1035f20cb564cb8 (patch) | |
tree | 69e5f3456fff87a85f611338072f2743f97ddbe3 /Libraries/LibMarkdown/Text.h | |
parent | aa65f664a97abca040663768936b59fa29c2a9e6 (diff) | |
download | serenity-445bd865339b81e7cba825eec1035f20cb564cb8.zip |
LibMarkdown: Make Text default-constructible and move-assignable
Diffstat (limited to 'Libraries/LibMarkdown/Text.h')
-rw-r--r-- | Libraries/LibMarkdown/Text.h | 3 |
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; } |