mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb: Move HTMLToken in HTMLDocumentParser
This replaces a copy construction of an HTMLToken with a move(). This allows HTMLToken to be made non-copyable in a further commit.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
b6e995ca3c
commit
7eb294df0d
Notes:
sideshowbarker
2024-07-18 08:52:32 +09:00
Author: https://github.com/MaxWipfli Commit: https://github.com/SerenityOS/serenity/commit/7eb294df0de Pull-request: https://github.com/SerenityOS/serenity/pull/8784 Reviewed-by: https://github.com/Hendiadyoin1 Reviewed-by: https://github.com/alimpfard
@@ -2103,7 +2103,7 @@ void HTMLDocumentParser::handle_in_table_text(HTMLToken& token)
|
||||
return;
|
||||
}
|
||||
|
||||
m_pending_table_character_tokens.append(token);
|
||||
m_pending_table_character_tokens.append(move(token));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user