diff options
author | Max Wipfli <mail@maxwipfli.ch> | 2021-07-15 22:23:45 +0200 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-07-17 16:24:57 +0430 |
commit | 7eb294df0deccf7ec0de8776e94eed0a59107796 (patch) | |
tree | 0330f24cced79179cd90c82860d9ca8102148bd7 /Userland/Libraries/LibWeb | |
parent | b6e995ca3c652ac6d02c8f9747d02e023fc01c46 (diff) | |
download | serenity-7eb294df0deccf7ec0de8776e94eed0a59107796.zip |
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.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Parser/HTMLDocumentParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |