From: johanengelen Date: Sun, 4 Jan 2009 03:56:10 +0000 (+0000) Subject: correctly initialize vector in spitem. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f0893496f6ca1062df015a8bd081acf71e0e4586;p=inkscape.git correctly initialize vector in spitem. --- diff --git a/src/sp-item.cpp b/src/sp-item.cpp index 886c5d4c2..8971c3abb 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -47,6 +47,7 @@ #include "sp-item-rm-unsatisfied-cns.h" #include "sp-pattern.h" #include "sp-switch.h" +#include "sp-guide-constraint.h" #include "gradient-chemistry.h" #include "preferences.h" #include "conn-avoid-ref.h" @@ -176,6 +177,8 @@ void SPItem::init() { this->avoidRef = new SPAvoidRef(this); + new (&this->constraints) std::vector(); + new (&this->_transformed_signal) sigc::signal(); }