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/dcpdiff.cc | |
| parent | bebe2f996176113a527bf2492fd179420493d0ff (diff) | |
Assorted c++11 cleanups.
Diffstat (limited to 'tools/dcpdiff.cc')
| -rw-r--r-- | tools/dcpdiff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index a9d78712..336d09a5 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -99,14 +99,14 @@ load_dcp (boost::filesystem::path path, bool ignore_missing_assets, optional<str vector<dcp::VerificationNote> notes; dcp->read (¬es); filter_notes (notes, ignore_missing_assets); - BOOST_FOREACH (dcp::VerificationNote i, notes) { + for (auto i: notes) { cerr << dcp::note_to_string(i) << "\n"; } if (key) { auto assets = dcp->assets (); for (auto i: assets) { - shared_ptr<MXF> mxf = dynamic_pointer_cast<MXF>(i); + auto mxf = dynamic_pointer_cast<MXF>(i); if (mxf) { mxf->set_key (Key (key.get ())); } |
