Revert "Use make_shared<>."
[dcpomatic.git] / src / tools / dcpomatic_batch.cc
index 3570dda084a2dc0a257c43169db4bf03165b2281..a112e457a4af514463a69e2fc425f4c98a6c50b1 100644 (file)
 #include <wx/cmdline.h>
 #include <wx/preferences.h>
 #include <wx/wx.h>
-#include <boost/make_shared.hpp>
 #include <iostream>
 
 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> film = make_shared<Film> (path);
+                       shared_ptr<Film> film (new Film (path));
                        film->read_metadata ();
                        film->make_dcp ();
                } catch (std::exception& e) {