mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibHTML: Make some use of Vector::empend().
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user