Remove use of boost::noncopyable.
[dcpomatic.git] / src / lib / dkdm_recipient.cc
index a12d95a4c621566f5043ab8edfc80859f5ec475d..8704f627ac39e624b02214d4230d5a17f73fb409 100644 (file)
@@ -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);
        }
 
@@ -79,7 +78,7 @@ kdm_for_dkdm_recipient (
                        cpl,
                        begin,
                        end,
-                       dcp::MODIFIED_TRANSITIONAL_1,
+                       dcp::Formulation::MODIFIED_TRANSITIONAL_1,
                        true,
                        0
                        );