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_seek_test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/ffmpeg_decoder_seek_test.cc') diff --git a/test/ffmpeg_decoder_seek_test.cc b/test/ffmpeg_decoder_seek_test.cc index 5e310cd3c..8a854b01b 100644 --- a/test/ffmpeg_decoder_seek_test.cc +++ b/test/ffmpeg_decoder_seek_test.cc @@ -35,14 +35,12 @@ #include "test.h" #include #include -#include #include using std::cerr; using std::vector; using std::list; using boost::shared_ptr; -using boost::make_shared; using boost::optional; static void @@ -64,11 +62,11 @@ test (boost::filesystem::path file, vector frames) } 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)); for (vector::const_iterator i = frames.begin(); i != frames.end(); ++i) { check (decoder, *i); -- cgit v1.2.3