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 /src/sound_asset_writer.cc | |
| parent | bebe2f996176113a527bf2492fd179420493d0ff (diff) | |
Assorted c++11 cleanups.
Diffstat (limited to 'src/sound_asset_writer.cc')
| -rw-r--r-- | src/sound_asset_writer.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sound_asset_writer.cc b/src/sound_asset_writer.cc index 87de1b18..5c5bcdec 100644 --- a/src/sound_asset_writer.cc +++ b/src/sound_asset_writer.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -40,7 +40,6 @@ #include "crypto_context.h" #include <asdcp/AS_DCP.h> #include <asdcp/Metadata.h> -#include <boost/foreach.hpp> #include <iostream> using std::min; @@ -142,7 +141,7 @@ SoundAssetWriter::start () _state->mxf_writer.OP1aHeader().AddChildObject(soundfield); essence_descriptor->SubDescriptors.push_back(soundfield->InstanceUID); - BOOST_FOREACH (Channel i, _active_channels) { + for (auto i: _active_channels) { ASDCP::MXF::AudioChannelLabelSubDescriptor* channel = new ASDCP::MXF::AudioChannelLabelSubDescriptor(asdcp_smpte_dict); GenRandomValue (channel->MCALinkID); channel->SoundfieldGroupLinkID = soundfield->MCALinkID; |
