diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/lib/dkdm_recipient.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/lib/dkdm_recipient.cc')
| -rw-r--r-- | src/lib/dkdm_recipient.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/dkdm_recipient.cc b/src/lib/dkdm_recipient.cc index a12d95a4c..22da53f3b 100644 --- a/src/lib/dkdm_recipient.cc +++ b/src/lib/dkdm_recipient.cc @@ -22,7 +22,6 @@ #include "kdm_with_metadata.h" #include "film.h" #include <dcp/raw_convert.h> -#include <boost/foreach.hpp> using std::string; @@ -34,7 +33,7 @@ using dcp::raw_convert; DKDMRecipient::DKDMRecipient (cxml::ConstNodePtr node) : KDMRecipient (node) { - BOOST_FOREACH (cxml::ConstNodePtr i, node->node_children("Email")) { + for (auto i: node->node_children("Email")) { emails.push_back (i->content()); } @@ -48,7 +47,7 @@ DKDMRecipient::as_xml (xmlpp::Element* node) const { KDMRecipient::as_xml (node); - BOOST_FOREACH (string i, emails) { + for (auto i: emails) { node->add_child("Email")->add_child_text(i); } |
