1
Fork 0
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:
Andreas Kling 2019-08-01 16:50:15 +02:00
parent 8b34b1222b
commit 38c80d5e6d

View file

@ -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)