--- src/frontend/common/TemplateBuilder.hh.orig 2013-10-04 14:50:03.000000000 +0200 +++ src/frontend/common/TemplateBuilder.hh 2013-10-04 14:55:16.000000000 +0200 @@ -47,12 +47,12 @@ SmartPtr getElement(const typename Model::Element& el) const { - if (SmartPtr elem = smart_cast(linkerAssoc(el))) + if (SmartPtr elem = smart_cast(this->linkerAssoc(el))) return elem; else { - SmartPtr elem = ElementBuilder::type::create(ElementBuilder::getContext(*this)); - linkerAdd(el, elem); + elem = ElementBuilder::type::create(ElementBuilder::getContext(*this)); + this->linkerAdd(el, elem); return elem; } }