diff options
author | Andreas Kling <kling@serenityos.org> | 2021-02-07 11:20:15 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-07 11:20:15 +0100 |
commit | 330c3fcb598bb626a2c8673e4c29daaa19e1bedc (patch) | |
tree | 95e216faeed8637a923ebb5bb144e047128cf5cf /Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp | |
parent | 10420dee7e48c818a7b1c5386b8fcebc587825f0 (diff) | |
download | serenity-330c3fcb598bb626a2c8673e4c29daaa19e1bedc.zip |
LibWeb: Use move semantics for QualifiedName more often
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp index 35657ece06..f812d42dfc 100644 --- a/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp +++ b/Userland/Libraries/LibWeb/SVG/SVGPathElement.cpp @@ -431,8 +431,8 @@ bool PathDataParser::match_coordinate() const return !done() && (isdigit(ch()) || ch() == '-' || ch() == '+' || ch() == '.'); } -SVGPathElement::SVGPathElement(DOM::Document& document, const QualifiedName& qualified_name) - : SVGGeometryElement(document, qualified_name) +SVGPathElement::SVGPathElement(DOM::Document& document, QualifiedName qualified_name) + : SVGGeometryElement(document, move(qualified_name)) { } |