mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-04 01:12:56 +00:00
LibHTML: Make some use of Vector::empend().
This commit is contained in:
parent
8b34b1222b
commit
38c80d5e6d
Notes:
sideshowbarker
2024-07-19 12:57:12 +09:00
Author: https://github.com/awesomekling
Commit: 38c80d5e6d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ void Element::set_attribute(const String& name, const String& value)
|
|||
if (auto* attribute = find_attribute(name))
|
||||
attribute->set_value(value);
|
||||
else
|
||||
m_attributes.append({ name, value });
|
||||
m_attributes.empend(name, value);
|
||||
}
|
||||
|
||||
void Element::set_attributes(Vector<Attribute>&& attributes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue