projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Use make_shared<>."
[dcpomatic.git]
/
src
/
tools
/
dcpomatic_batch.cc
diff --git
a/src/tools/dcpomatic_batch.cc
b/src/tools/dcpomatic_batch.cc
index 3570dda084a2dc0a257c43169db4bf03165b2281..a112e457a4af514463a69e2fc425f4c98a6c50b1 100644
(file)
--- a/
src/tools/dcpomatic_batch.cc
+++ b/
src/tools/dcpomatic_batch.cc
@@
-36,14
+36,12
@@
#include <wx/cmdline.h>
#include <wx/preferences.h>
#include <wx/wx.h>
#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;
#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;
using boost::thread;
using boost::scoped_array;
@@
-130,7
+128,7
@@
public:
void start_job (boost::filesystem::path path)
{
try {
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) {
film->read_metadata ();
film->make_dcp ();
} catch (std::exception& e) {