From a376c0b1f745e73498675f9fbf8cea833b8a11d7 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 4 Sep 2011 20:56:22 +0200 Subject: bugfix: context mixup after last foreach fix diff --git a/src/module.cc b/src/module.cc index 365eff5..0b17ff7 100644 --- a/src/module.cc +++ b/src/module.cc @@ -115,7 +115,7 @@ std::vector ModuleInstantiation::evaluateChildren(const Context * if (!ctx) ctx = this->ctx; std::vector 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; -- cgit v0.10.1