summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-sketch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/live_effects/lpe-sketch.cpp')
-rw-r--r--src/live_effects/lpe-sketch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live_effects/lpe-sketch.cpp b/src/live_effects/lpe-sketch.cpp
index 9cd6f1b57..e39b82f20 100644
--- a/src/live_effects/lpe-sketch.cpp
+++ b/src/live_effects/lpe-sketch.cpp
@@ -272,7 +272,7 @@ LPESketch::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_
}
}
times = roots(piecelength-s1);
- if (times.size()==0) break;//we should not be there.
+ if (times.empty()) break;//we should not be there.
t1 = times[0];
//pick a rdm perturbation, and collect the perturbed piece into output.