diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/lib/job.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
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"; } |
