summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/freehand-base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/tools/freehand-base.cpp')
-rw-r--r--src/ui/tools/freehand-base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/freehand-base.cpp b/src/ui/tools/freehand-base.cpp
index ba2609975..6c8a3f2c3 100644
--- a/src/ui/tools/freehand-base.cpp
+++ b/src/ui/tools/freehand-base.cpp
@@ -274,7 +274,7 @@ static void spdc_apply_powerstroke_shape(std::vector<Geom::Point> points, Freeha
if (!swidth) {
swidth = swidth/2;
}
- points.push_back(Geom::Point(0, swidth));
+ points.emplace_back(0, swidth);
}
Effect::createAndApply(POWERSTROKE, dc->desktop->doc(), item);
lpe = SP_LPE_ITEM(item)->getCurrentLPE();