projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BOOST_FOREACH.
[dcpomatic.git]
/
src
/
wx
/
dkdm_output_panel.cc
diff --git
a/src/wx/dkdm_output_panel.cc
b/src/wx/dkdm_output_panel.cc
index 762ed7b7e71e07aef8d7019bbddd110cefe92cba..964662f0e7647766038cbd02e914ca53975813b1 100644
(file)
--- a/
src/wx/dkdm_output_panel.cc
+++ b/
src/wx/dkdm_output_panel.cc
@@
-119,7
+119,7
@@
DKDMOutputPanel::make (
}
bool kdms_with_no_email = false;
}
bool kdms_with_no_email = false;
-
BOOST_FOREACH (KDMWithMetadataPtr i,
kdms) {
+
for (auto i:
kdms) {
if (i->emails().empty()) {
kdms_with_no_email = true;
}
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;
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);
}
}
emails.push_back (j);
}
}