summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-patternalongpath.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-01-23 01:58:28 +0000
committerMartin Owens <doctormo@gmail.com>2019-03-06 01:26:24 +0000
commite71e984af918104579da59e45785fe1651c5e992 (patch)
tree9fe91c6e2b1237055e46dc4974c1003c2abc8d61 /src/live_effects/lpe-patternalongpath.cpp
parentRevert modal fix to fix #108 (diff)
downloadinkscape-e71e984af918104579da59e45785fe1651c5e992.tar.gz
inkscape-e71e984af918104579da59e45785fe1651c5e992.zip
Avoid the “using std::*;” or “using namespace std;” constructs.
This makes the code a lot less readable and greppable for no reason.
Diffstat (limited to 'src/live_effects/lpe-patternalongpath.cpp')
-rw-r--r--src/live_effects/lpe-patternalongpath.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/live_effects/lpe-patternalongpath.cpp b/src/live_effects/lpe-patternalongpath.cpp
index 081c87990..c667bdc49 100644
--- a/src/live_effects/lpe-patternalongpath.cpp
+++ b/src/live_effects/lpe-patternalongpath.cpp
@@ -7,6 +7,7 @@
#include <cmath>
#include <algorithm>
+#include <vector>
#include <2geom/bezier-to-sbasis.h>
@@ -20,8 +21,6 @@
// TODO due to internal breakage in glibmm headers, this must be last:
#include <glibmm/i18n.h>
-using std::vector;
-
/* Theory in e-mail from J.F. Barraud
Let B be the skeleton path, and P the pattern (the path to be deformed).