X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Ftext_decoder.h;h=fba9b59472b74047db2d45761321582a833faf7e;hp=02afeeb94251132984f24b7ae215e0734433b224;hb=6ef1fc5f40567650ca9ef2b7644e4fdd97640ae6;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566 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