summaryrefslogtreecommitdiff
path: root/project2/processes/processStream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'project2/processes/processStream.cpp')
-rw-r--r--project2/processes/processStream.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/project2/processes/processStream.cpp b/project2/processes/processStream.cpp
index 1ed8388..3067533 100644
--- a/project2/processes/processStream.cpp
+++ b/project2/processes/processStream.cpp
@@ -6,7 +6,6 @@
#include <exception>
#include <sys/wait.h>
#include <misc.h>
-#include <boost/foreach.hpp>
SimpleMessageException(SubProcessFailedToStart);
SimpleMessageException(SubProcessFailed);
@@ -26,7 +25,7 @@ class ProcessStream : public Stream, IHaveParameters {
std::vector<std::string> callProc;
callProc.reserve(parameters.size() + 2);
callProc.push_back(path(ec));
- BOOST_FOREACH(const Parameters::value_type & p, parameters) {
+ for (const Parameters::value_type & p : parameters) {
callProc.push_back(p.second(ec));
}
int fds[2];