X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdkdm_output_panel.cc;h=cf6189efa7192a961f5727a224441ef543fb9fe4;hb=f802565830bed9ec9e7ad6c16ccaa7b0700625d9;hp=d8645ff9713d5e8a24d51aded011e87fb1ac4f23;hpb=c622a06189181a3a6ad356094c9a3cf4e1f5a722;p=dcpomatic.git diff --git a/src/wx/dkdm_output_panel.cc b/src/wx/dkdm_output_panel.cc index d8645ff97..cf6189efa 100644 --- a/src/wx/dkdm_output_panel.cc +++ b/src/wx/dkdm_output_panel.cc @@ -44,8 +44,8 @@ using std::string; using std::list; using std::exception; using std::make_pair; -using boost::shared_ptr; -using boost::function; +using std::shared_ptr; +using std::function; DKDMOutputPanel::DKDMOutputPanel (wxWindow* parent) @@ -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 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); } }