From fbb4eb8b63e74d9441220a73a8ca858425be4bd4 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 13 Apr 2008 21:15:30 +0000 Subject: [PATCH] C++-ify initialization of Effect class --- src/live_effects/effect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 22fd14510..36148ccd0 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -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() -- 2.30.2