summaryrefslogtreecommitdiff
path: root/project2/processes/processStream.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-01-03 21:44:24 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-01-04 15:52:04 +0000
commit575947589fecadef5ff5b5414c8d521d7f87fda3 (patch)
treecd4e6a3fa8d0b21353d7c6a4ebfee1e231208801 /project2/processes/processStream.cpp
parentA single ycm config that gets its args from b2 (diff)
downloadproject2-575947589fecadef5ff5b5414c8d521d7f87fda3.tar.bz2
project2-575947589fecadef5ff5b5414c8d521d7f87fda3.tar.xz
project2-575947589fecadef5ff5b5414c8d521d7f87fda3.zip
Use native for instead BOOST_FOREACH
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];