summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_kdm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/dcpomatic_kdm.cc')
-rw-r--r--src/tools/dcpomatic_kdm.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/tools/dcpomatic_kdm.cc b/src/tools/dcpomatic_kdm.cc
index eb44b4997..c686a974d 100644
--- a/src/tools/dcpomatic_kdm.cc
+++ b/src/tools/dcpomatic_kdm.cc
@@ -51,7 +51,6 @@
#endif
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
-#include <boost/make_shared.hpp>
#ifdef check
#undef check
@@ -62,7 +61,6 @@ using std::list;
using std::string;
using std::vector;
using boost::shared_ptr;
-using boost::make_shared;
using boost::bind;
enum {
@@ -303,13 +301,13 @@ private:
if (film_name.empty ()) {
film_name = decrypted.content_title_text ();
}
- shared_ptr<Job> job = boost::make_shared<SendKDMEmailJob> (
- film_name,
- decrypted.content_title_text(),
- _timing->from(), _timing->until(),
- CinemaKDMs::collect (screen_kdms),
- shared_ptr<Log> ()
- );
+ shared_ptr<Job> job (new SendKDMEmailJob (
+ film_name,
+ decrypted.content_title_text(),
+ _timing->from(), _timing->until(),
+ CinemaKDMs::collect (screen_kdms),
+ shared_ptr<Log> ()
+ ));
JobManager::instance()->add (job);
if (_job_view) {