mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 06:09:08 +00:00
LibMarkdown: Make Text default-constructible and move-assignable
This commit is contained in:
parent
aa65f664a9
commit
445bd86533
Notes:
sideshowbarker
2024-07-19 02:09:43 +09:00
Author: https://github.com/alimpfard
Commit: 445bd86533
Pull-request: https://github.com/SerenityOS/serenity/pull/3562
Reviewed-by: https://github.com/bugaevc
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