Tell user we need a KDM when we have none, and content is encrypted.
[dcpomatic.git] / src / lib / send_notification_email_job.cc
index 1c9d963388a1eefd1451984481f4b05f1df5484b..e5edc49ee746410c27dafe5368e8983c358f6128 100644 (file)
 #include "config.h"
 #include "emailer.h"
 #include "compose.hpp"
-#include <boost/foreach.hpp>
 #include <list>
 
 #include "i18n.h"
 
 using std::string;
 using std::list;
-using boost::shared_ptr;
+using std::shared_ptr;
 
 /** @param body Email body */
 SendNotificationEmailJob::SendNotificationEmailJob (string body)
@@ -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()) {