mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 18:35:07 +00:00
LibHTML: Make some use of Vector::empend().
This commit is contained in:
parent
8b34b1222b
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