Revert "Use make_shared<>."
[dcpomatic.git] / test / video_content_scale_test.cc
index f1edce04150fb1997fe1fc622d8a535761d9e532..6f5d85a11045d4b2c17b9666f1853af33c62e528 100644 (file)
 
 */
 
+#include <boost/test/unit_test.hpp>
 #include "lib/ffmpeg_content.h"
 #include "lib/ratio.h"
 #include "lib/video_content.h"
-#include <boost/test/unit_test.hpp>
-#include <boost/make_shared.hpp>
 
 using std::list;
 using std::string;
 using std::cerr;
 using boost::shared_ptr;
-using boost::make_shared;
 using boost::optional;
 
 static
@@ -88,11 +86,11 @@ test (dcp::Size content_size, dcp::Size display_size, dcp::Size film_size, Crop
                "<SubtitleYScale>0</SubtitleYScale>"
                "</Content>";
 
-       shared_ptr<cxml::Document> doc = make_shared<cxml::Document> ();
+       shared_ptr<cxml::Document> doc (new cxml::Document ());
        doc->read_string(s.str ());
 
        list<string> notes;
-       shared_ptr<FFmpegContent> vc = boost::make_shared<FFmpegContent> (film, doc, 10, notes);
+       shared_ptr<FFmpegContent> vc (new FFmpegContent (film, doc, 10, notes));
 
        optional<VideoContentScale> sc;
        if (ratio) {