mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:37:35 +00:00
LibMarkdown: Make Text default-constructible and move-assignable
This commit is contained in:
parent
aa65f664a9
commit
445bd86533
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@ public:
|
|||
};
|
||||
|
||||
Text(Text&& text) = default;
|
||||
Text() = default;
|
||||
|
||||
Text& operator=(Text&&) = default;
|
||||
|
||||
const Vector<Span>& spans() const { return m_spans; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue