summaryrefslogtreecommitdiff
path: root/project2/ice/slice2Rows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/ice/slice2Rows.cpp')
-rw-r--r--project2/ice/slice2Rows.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/project2/ice/slice2Rows.cpp b/project2/ice/slice2Rows.cpp
index 2f1c6f2..1001f4c 100644
--- a/project2/ice/slice2Rows.cpp
+++ b/project2/ice/slice2Rows.cpp
@@ -1,6 +1,5 @@
#include <pch.hpp>
#include "slice2Rows.h"
-#include <boost/foreach.hpp>
#include <Slice/CPlusPlusUtil.h>
Slice2Rows::Slice2Rows(FILE * c) :
@@ -46,7 +45,7 @@ Slice2Rows::visitOperation(const Slice::OperationPtr & o)
// Constructor
fprintf(code, "\t\t\t\t\t%s(ScriptNodePtr p) :\n", o->name().c_str());
fprintf(code, "\t\t\t\t\t\tIceRows< ::%s::%sPrx >(p)", module.c_str(), interface.c_str());
- BOOST_FOREACH(const auto & p, o->parameters()) {
+ for (const auto & p : o->parameters()) {
fprintf(code, ",\n\t\t\t\t\t\t%s(p, \"%s\")", p->name().c_str(), p->name().c_str());
}
fprintf(code, "\n\t\t\t\t\t{\n");