summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-09 21:12:17 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-09 21:12:17 +0000
commit8b69d31378f589b16f5534fde7b4c9f28c77b817 (patch)
treed0dd31312892417b6a2b01a818cbb1633f17c812 /src/live_effects/effect.cpp
parentchange to c++ style casts in Effect::New (diff)
downloadinkscape-8b69d31378f589b16f5534fde7b4c9f28c77b817.tar.gz
inkscape-8b69d31378f589b16f5534fde7b4c9f28c77b817.zip
change doEffect functions to use const& parameters
(bzr r5394)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 3c8ad8d50..fdeda8a62 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -196,7 +196,7 @@ Effect::doEffect_nartbpath (NArtBpath * path_in)
}
std::vector<Geom::Path>
-Effect::doEffect_path (std::vector<Geom::Path> & path_in)
+Effect::doEffect_path (std::vector<Geom::Path> const & path_in)
{
std::vector<Geom::Path> path_out;
@@ -225,7 +225,7 @@ Effect::doEffect_path (std::vector<Geom::Path> & path_in)
}
Geom::Piecewise<Geom::D2<Geom::SBasis> >
-Effect::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > & pwd2_in)
+Effect::doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in)
{
g_warning("Effect has no doEffect implementation");
return pwd2_in;