From a8a0dfd1b21de6c0facf965ab119833ff6f790bf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Jun 2016 23:08:53 +0100 Subject: Revert "Use make_shared<>." Support for this seems to vary wildly across DoM's build targets. Stuff that builds on 16.04 won't build on 14.04, for example. Seems to not be worth the hassle now. This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f. --- test/ffmpeg_decoder_sequential_test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/ffmpeg_decoder_sequential_test.cc') diff --git a/test/ffmpeg_decoder_sequential_test.cc b/test/ffmpeg_decoder_sequential_test.cc index 9edca0160..6a27d698f 100644 --- a/test/ffmpeg_decoder_sequential_test.cc +++ b/test/ffmpeg_decoder_sequential_test.cc @@ -31,7 +31,6 @@ #include "lib/film.h" #include "test.h" #include -#include #include #include @@ -39,7 +38,6 @@ using std::cout; using std::cerr; using std::list; using boost::shared_ptr; -using boost::make_shared; using boost::optional; void @@ -52,11 +50,11 @@ ffmpeg_decoder_sequential_test_one (boost::filesystem::path file, float fps, int } shared_ptr film = new_test_film ("ffmpeg_decoder_seek_test_" + file.string()); - shared_ptr content = make_shared (film, path); + shared_ptr content (new FFmpegContent (film, path)); film->examine_and_add_content (content); wait_for_jobs (); - shared_ptr log = make_shared (); - shared_ptr decoder = make_shared (content, log, false); + shared_ptr log (new NullLog); + shared_ptr decoder (new FFmpegDecoder (content, log, false)); BOOST_REQUIRE (decoder->video->_content->video_frame_rate()); BOOST_CHECK_CLOSE (decoder->video->_content->video_frame_rate().get(), fps, 0.01); -- cgit v1.2.3