summaryrefslogtreecommitdiff
path: root/project2/iterate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/iterate.cpp')
-rw-r--r--project2/iterate.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/project2/iterate.cpp b/project2/iterate.cpp
index fa0bd77..fc24ed7 100644
--- a/project2/iterate.cpp
+++ b/project2/iterate.cpp
@@ -51,14 +51,14 @@ Iterate::execute() const
void
Iterate::executeChildren() const
{
- BOOST_FOREACH(NoOutputExecutes::value_type sq, subNOEs) {
- if (dynamic_cast<const RowProcessor *>(sq.second.get())) {
- sq.second->execute();
+ BOOST_FOREACH(const NoOutputExecutes::value_type & sq, subNOEs.get<bySOOrder>()) {
+ if (dynamic_cast<const RowProcessor *>(sq.get())) {
+ sq->execute();
}
else {
RowSet::beginRow(NULL);
try {
- sq.second->execute();
+ sq->execute();
RowSet::endRow(NULL);
}
catch (...) {