bugfix: context mixup after last foreach fix

stl_dim
Marius Kintel 2011-09-04 20:56:22 +02:00
parent 5417b4fa65
commit a376c0b1f7
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ std::vector<AbstractNode*> ModuleInstantiation::evaluateChildren(const Context *
if (!ctx) ctx = this->ctx;
std::vector<AbstractNode*> childnodes;
BOOST_FOREACH (ModuleInstantiation *v, this->children) {
AbstractNode *n = v->evaluate(this->ctx);
AbstractNode *n = v->evaluate(ctx);
if (n != NULL) childnodes.push_back(n);
}
return childnodes;