From 0e8a1ab7c41756115f44229053e1e7024530fb32 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 10 Nov 2019 22:51:55 +0100 Subject: Make DecoderPart::_position an optional. --- src/lib/text_decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/text_decoder.h') diff --git a/src/lib/text_decoder.h b/src/lib/text_decoder.h index 02afeeb94..fba9b5947 100644 --- a/src/lib/text_decoder.h +++ b/src/lib/text_decoder.h @@ -44,7 +44,7 @@ public: dcpomatic::ContentTime first ); - dcpomatic::ContentTime position (boost::shared_ptr) const { + boost::optional position (boost::shared_ptr) const { return _position; } @@ -68,7 +68,7 @@ public: private: boost::shared_ptr _content; - dcpomatic::ContentTime _position; + boost::optional _position; }; #endif -- cgit v1.2.3