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/text_decoder.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/text_decoder.h') diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h index fba9b5947..3fb27b653 100644 --- a/src/lib/text_decoder.h +++ b/src/lib/text_decoder.h @@ -40,16 +40,16 @@ class TextDecoder : public DecoderPart public: TextDecoder ( Decoder* parent, - boost::shared_ptr, + std::shared_ptr, dcpomatic::ContentTime first ); - boost::optional position (boost::shared_ptr) const { + boost::optional position (std::shared_ptr) const { return _position; } - void emit_bitmap_start (dcpomatic::ContentTime from, boost::shared_ptr image, dcpomatic::Rect rect); - void emit_bitmap (dcpomatic::ContentTimePeriod period, boost::shared_ptr image, dcpomatic::Rect rect); + void emit_bitmap_start (dcpomatic::ContentTime from, std::shared_ptr image, dcpomatic::Rect rect); + void emit_bitmap (dcpomatic::ContentTimePeriod period, std::shared_ptr image, dcpomatic::Rect rect); void emit_plain_start (dcpomatic::ContentTime from, std::list s); void emit_plain_start (dcpomatic::ContentTime from, sub::Subtitle const & subtitle); void emit_plain (dcpomatic::ContentTimePeriod period, std::list s); @@ -58,7 +58,7 @@ public: void seek (); - boost::shared_ptr content () const { + std::shared_ptr content () const { return _content; } @@ -67,7 +67,7 @@ public: boost::signals2::signal Stop; private: - boost::shared_ptr _content; + std::shared_ptr _content; boost::optional _position; }; -- cgit v1.2.3