Code

Const fix for test
authorjoncruz <joncruz@users.sourceforge.net>
Tue, 20 May 2008 05:48:41 +0000 (05:48 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Tue, 20 May 2008 05:48:41 +0000 (05:48 +0000)
src/live_effects/lpe-test-doEffect-stack.cpp
src/live_effects/lpe-test-doEffect-stack.h

index 3aa1436322967a3aaa2b1929d36686f5145eef82..f3fb346fe1ebee095cb3099ccebea7d37b72be18 100644 (file)
@@ -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);
index a4886539903bf6a2e95ab637057817be8453f2b7..cf2d480b1f7fa7c9f9f25a6ebff7ed792c2cc1a2 100644 (file)
@@ -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<Geom::Path>                  doEffect_path (std::vector<Geom::Path> const & path_in);
     virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in);