From: joncruz Date: Tue, 20 May 2008 05:48:41 +0000 (+0000) Subject: Const fix for test X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=22ecc66616be4caa0344229528c4a2720eed846d;p=inkscape.git Const fix for test --- diff --git a/src/live_effects/lpe-test-doEffect-stack.cpp b/src/live_effects/lpe-test-doEffect-stack.cpp index 3aa143632..f3fb346fe 100644 --- a/src/live_effects/lpe-test-doEffect-stack.cpp +++ b/src/live_effects/lpe-test-doEffect-stack.cpp @@ -46,7 +46,7 @@ LPEdoEffectStackTest::doEffect (SPCurve * curve) } NArtBpath * -LPEdoEffectStackTest::doEffect_nartbpath (NArtBpath * path_in) +LPEdoEffectStackTest::doEffect_nartbpath (NArtBpath const * path_in) { if (step >= 2) { return Effect::doEffect_nartbpath(path_in); diff --git a/src/live_effects/lpe-test-doEffect-stack.h b/src/live_effects/lpe-test-doEffect-stack.h index a48865399..cf2d480b1 100644 --- a/src/live_effects/lpe-test-doEffect-stack.h +++ b/src/live_effects/lpe-test-doEffect-stack.h @@ -26,7 +26,7 @@ public: virtual ~LPEdoEffectStackTest(); virtual void doEffect (SPCurve * curve); - virtual NArtBpath * doEffect_nartbpath (NArtBpath * path_in); + virtual NArtBpath * doEffect_nartbpath (NArtBpath const * path_in); virtual std::vector doEffect_path (std::vector const & path_in); virtual Geom::Piecewise > doEffect_pwd2 (Geom::Piecewise > const & pwd2_in);