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_create.cc
diff --git
a/src/tools/dcpomatic_create.cc
b/src/tools/dcpomatic_create.cc
index 3697b4e8bb055adc13d156ceed6cf6dc94ba413f..fd950807c3eed51480ed75ecdccea160c0e935a6 100644
(file)
--- a/
src/tools/dcpomatic_create.cc
+++ b/
src/tools/dcpomatic_create.cc
@@
-31,7
+31,6
@@
#include "lib/video_content.h"
#include <libxml++/libxml++.h>
#include <boost/filesystem.hpp>
#include "lib/video_content.h"
#include <libxml++/libxml++.h>
#include <boost/filesystem.hpp>
-#include <boost/make_shared.hpp>
#include <getopt.h>
#include <string>
#include <iostream>
#include <getopt.h>
#include <string>
#include <iostream>
@@
-44,7
+43,6
@@
using std::cerr;
using std::list;
using std::exception;
using boost::shared_ptr;
using std::list;
using std::exception;
using boost::shared_ptr;
-using boost::make_shared;
using boost::dynamic_pointer_cast;
static void
using boost::dynamic_pointer_cast;
static void
@@
-208,7
+206,7
@@
main (int argc, char* argv[])
}
try {
}
try {
- shared_ptr<Film> film
= make_shared<Film> (output, false
);
+ shared_ptr<Film> film
(new Film (output, false)
);
film->set_name (name);
film->set_container (container_ratio);
film->set_name (name);
film->set_container (container_ratio);