summaryrefslogtreecommitdiff
path: root/src/lib/send_notification_email_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/send_notification_email_job.cc')
-rw-r--r--src/lib/send_notification_email_job.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/send_notification_email_job.cc b/src/lib/send_notification_email_job.cc
index 41d215ba2..e5edc49ee 100644
--- a/src/lib/send_notification_email_job.cc
+++ b/src/lib/send_notification_email_job.cc
@@ -23,7 +23,6 @@
#include "config.h"
#include "emailer.h"
#include "compose.hpp"
-#include <boost/foreach.hpp>
#include <list>
#include "i18n.h"
@@ -70,7 +69,7 @@ SendNotificationEmailJob::run ()
list<string> to;
to.push_back (config->notification_to ());
Emailer email (config->notification_from(), to, config->notification_subject(), _body);
- BOOST_FOREACH (string i, config->notification_cc()) {
+ for (auto i: config->notification_cc()) {
email.add_cc (i);
}
if (!config->notification_bcc().empty()) {