From 7eb294df0deccf7ec0de8776e94eed0a59107796 Mon Sep 17 00:00:00 2001 From: Max Wipfli Date: Thu, 15 Jul 2021 22:23:45 +0200 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp b/Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp index 5daa31d2b9..c18e3a8af4 100644 --- a/Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp +++ b/Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp @@ -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; }