summaryrefslogtreecommitdiff
path: root/tools/dcpdumpsub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dcpdumpsub.cc')
-rw-r--r--tools/dcpdumpsub.cc2
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;