BOOST_FOREACH.
[dcpomatic.git] / src / wx / dkdm_output_panel.cc
index 762ed7b7e71e07aef8d7019bbddd110cefe92cba..964662f0e7647766038cbd02e914ca53975813b1 100644 (file)
@@ -119,7 +119,7 @@ DKDMOutputPanel::make (
                }
 
                bool kdms_with_no_email = false;
-               BOOST_FOREACH (KDMWithMetadataPtr i, kdms) {
+               for (auto i: kdms) {
                        if (i->emails().empty()) {
                                kdms_with_no_email = true;
                        }
@@ -134,8 +134,8 @@ DKDMOutputPanel::make (
 
                if (proceed && Config::instance()->confirm_kdm_email()) {
                        list<string> emails;
-                       BOOST_FOREACH (KDMWithMetadataPtr const& i, kdms) {
-                               BOOST_FOREACH (string j, i->emails()) {
+                       for (auto const& i: kdms) {
+                               for (auto j: i->emails()) {
                                        emails.push_back (j);
                                }
                        }