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. --- src/lib/audio_decoder.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/audio_decoder.cc') diff --git a/src/lib/audio_decoder.cc b/src/lib/audio_decoder.cc index fa9fe9711..8c395cb89 100644 --- a/src/lib/audio_decoder.cc +++ b/src/lib/audio_decoder.cc @@ -23,7 +23,6 @@ #include "audio_decoder_stream.h" #include "audio_content.h" #include -#include #include #include "i18n.h" @@ -31,14 +30,13 @@ using std::cout; using std::map; using boost::shared_ptr; -using boost::make_shared; AudioDecoder::AudioDecoder (Decoder* parent, shared_ptr content, bool fast, shared_ptr log) : _ignore (false) , _fast (fast) { BOOST_FOREACH (AudioStreamPtr i, content->streams ()) { - _streams[i] = make_shared (content, i, parent, fast, log); + _streams[i] = shared_ptr (new AudioDecoderStream (content, i, parent, fast, log)); } } -- cgit v1.2.3