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/dcpdumpsub.cc | |
| parent | bebe2f996176113a527bf2492fd179420493d0ff (diff) | |
Assorted c++11 cleanups.
Diffstat (limited to 'tools/dcpdumpsub.cc')
| -rw-r--r-- | tools/dcpdumpsub.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dcpdumpsub.cc b/tools/dcpdumpsub.cc index 5d6668af..8117f0c6 100644 --- a/tools/dcpdumpsub.cc +++ b/tools/dcpdumpsub.cc @@ -115,7 +115,7 @@ main (int argc, char* argv[]) dcp::EncryptedKDM encrypted_kdm (dcp::file_to_string (kdm_file.get ())); dcp::DecryptedKDM decrypted_kdm (encrypted_kdm, dcp::file_to_string (private_key_file.get())); bool done = false; - BOOST_FOREACH (dcp::DecryptedKDMKey const & i, decrypted_kdm.keys()) { + for (auto const& i: decrypted_kdm.keys()) { if (i.id() == *sub.key_id()) { sub.set_key (i.key ()); done = true; |
