diff options
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index 525f86b2c..f0d8fcbbc 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -34,7 +34,6 @@ #include <sub/exceptions.h> #include <boost/thread.hpp> #include <boost/filesystem.hpp> -#include <boost/foreach.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <iostream> @@ -196,7 +195,7 @@ Job::run_wrapper () } catch (sub::SubripError& e) { string extra = "Error is near:\n"; - BOOST_FOREACH (string i, e.context()) { + for (auto i: e.context()) { extra += i + "\n"; } |
