mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
AK: Make SourceGenerator move constructible
This makes us able to return one from a function
This commit is contained in:
parent
6672c19c93
commit
14caecefb1
Notes:
sideshowbarker
2024-07-17 16:36:57 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/14caecefb1 Pull-request: https://github.com/SerenityOS/serenity/pull/12735 Reviewed-by: https://github.com/AtkinsSJ Reviewed-by: https://github.com/kleinesfilmroellchen ✅
@ -33,6 +33,8 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
SourceGenerator(SourceGenerator&&) = default;
|
||||
|
||||
SourceGenerator fork() { return SourceGenerator { m_builder, m_mapping, m_opening, m_closing }; }
|
||||
|
||||
void set(StringView key, String value) { m_mapping.set(key, value); }
|
||||
|
Loading…
Reference in New Issue
Block a user