summaryrefslogtreecommitdiff
path: root/project2/iterate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/iterate.cpp')
-rw-r--r--project2/iterate.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/project2/iterate.cpp b/project2/iterate.cpp
index 99c5004..dc59757 100644
--- a/project2/iterate.cpp
+++ b/project2/iterate.cpp
@@ -1,7 +1,9 @@
#include "iterate.h"
#include "logger.h"
#include <boost/foreach.hpp>
+#include <boost/bind.hpp>
#include "xmlObjectLoader.h"
+#include "scopeObject.h"
DECLARE_LOADER("iterate", Iterate);
@@ -34,6 +36,8 @@ Iterate::rowReady(const RowState *) const
void
Iterate::execute() const
{
+ IHaveParameters::push(this);
+ ScopeObject _ihp(boost::bind(&IHaveParameters::pop, this));
source->execute(filter, this);
}