From f0893496f6ca1062df015a8bd081acf71e0e4586 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 4 Jan 2009 03:56:10 +0000 Subject: [PATCH] correctly initialize vector in spitem. --- src/sp-item.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(); } -- 2.30.2