From dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 4 Jan 2021 21:16:53 +0100 Subject: std::shared_ptr --- src/lib/ffmpeg_encoder.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/lib/ffmpeg_encoder.cc') diff --git a/src/lib/ffmpeg_encoder.cc b/src/lib/ffmpeg_encoder.cc index 443e16939..4e1f0bcb5 100644 --- a/src/lib/ffmpeg_encoder.cc +++ b/src/lib/ffmpeg_encoder.cc @@ -38,9 +38,9 @@ using std::cout; using std::pair; using std::list; using std::map; -using boost::shared_ptr; +using std::shared_ptr; using boost::bind; -using boost::weak_ptr; +using std::weak_ptr; using boost::optional; using namespace dcpomatic; #if BOOST_VERSION >= 106100 @@ -279,7 +279,7 @@ FFmpegEncoder::FileEncoderSet::get (Eyes eyes) const } } - map >::const_iterator i = _encoders.find (eyes); + map >::const_iterator i = _encoders.find (eyes); DCPOMATIC_ASSERT (i != _encoders.end()); return i->second; } @@ -287,7 +287,7 @@ FFmpegEncoder::FileEncoderSet::get (Eyes eyes) const void FFmpegEncoder::FileEncoderSet::flush () { - for (map >::iterator i = _encoders.begin(); i != _encoders.end(); ++i) { + for (map >::iterator i = _encoders.begin(); i != _encoders.end(); ++i) { i->second->flush (); } } @@ -295,7 +295,7 @@ FFmpegEncoder::FileEncoderSet::flush () void FFmpegEncoder::FileEncoderSet::audio (shared_ptr a) { - for (map >::iterator i = _encoders.begin(); i != _encoders.end(); ++i) { + for (map >::iterator i = _encoders.begin(); i != _encoders.end(); ++i) { i->second->audio (a); } } -- cgit v1.2.3