diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-22 01:39:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-22 01:39:22 +0100 |
| commit | 5fbcd3a8dc711c6c42efabbac72ab0408f504ea2 (patch) | |
| tree | dfc84a000b2e2c67b6c73c2b8809b5da3137ecc4 /tools/dcprecover.cc | |
| parent | bebe2f996176113a527bf2492fd179420493d0ff (diff) | |
Assorted c++11 cleanups.
Diffstat (limited to 'tools/dcprecover.cc')
| -rw-r--r-- | tools/dcprecover.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/dcprecover.cc b/tools/dcprecover.cc index b5790992..f9e08087 100644 --- a/tools/dcprecover.cc +++ b/tools/dcprecover.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Carl Hetherington <cth@carlh.net> + Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -39,7 +39,6 @@ #include <getopt.h> #include <libxml++/libxml++.h> #include <boost/filesystem.hpp> -#include <boost/foreach.hpp> #include <iostream> using std::cerr; @@ -109,7 +108,7 @@ main (int argc, char* argv[]) cout << "Error:" << e.what() << "\n"; } - BOOST_FOREACH (dcp::VerificationNote i, notes) { + for (auto i: notes) { cout << "Error: " << dcp::note_to_string(i) << "\n"; } |
