Code

C++-ify initialization of Effect class
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 13 Apr 2008 21:15:30 +0000 (21:15 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 13 Apr 2008 21:15:30 +0000 (21:15 +0000)
src/live_effects/effect.cpp

index 22fd14510573944b418f1a1ea3f21defed4ec4ad..36148ccd06325978ca6f6342466853cc5ac0dc65 100644 (file)
@@ -127,10 +127,10 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
 }
 
 Effect::Effect(LivePathEffectObject *lpeobject)
-    : concatenate_before_pwd2(false)
+    : oncanvasedit_it(0),
+      lpeobj(lpeobject),
+      concatenate_before_pwd2(false)
 {
-    lpeobj = lpeobject;
-    oncanvasedit_it = 0;
 }
 
 Effect::~Effect()