X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftools%2Fdcpomatic_batch.cc;h=a112e457a4af514463a69e2fc425f4c98a6c50b1;hb=a8a0dfd1b21de6c0facf965ab119833ff6f790bf;hp=3570dda084a2dc0a257c43169db4bf03165b2281;hpb=e669b562937786bf5b771c927cc03a4074b01be8;p=dcpomatic.git diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 3570dda08..a112e457a 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -36,14 +36,12 @@ #include #include #include -#include #include using std::exception; using std::string; using std::cout; using boost::shared_ptr; -using boost::make_shared; using boost::thread; using boost::scoped_array; @@ -130,7 +128,7 @@ public: void start_job (boost::filesystem::path path) { try { - shared_ptr film = make_shared (path); + shared_ptr film (new Film (path)); film->read_metadata (); film->make_dcp (); } catch (std::exception& e) {