1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 23:25:08 +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:
Max Wipfli 2021-07-15 22:23:45 +02:00 committed by Ali Mohammad Pur
parent b6e995ca3c
commit 7eb294df0d

View file

@ -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;
}