mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00: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
@@ -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