Add and use new FrameRateChange constructors.
[dcpomatic.git] / src / lib / string_text_file_content.h
index 9a71d5828696683aa6b97b5b460c0eeda1ed377e..4932f2a72dbc5feaa52a9ab54d21a18877cb591a 100644 (file)
@@ -35,6 +35,10 @@ public:
                return boost::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ());
        }
 
+       boost::shared_ptr<const StringTextFileContent> shared_from_this () const {
+               return boost::dynamic_pointer_cast<const StringTextFileContent> (Content::shared_from_this ());
+       }
+
        void examine (boost::shared_ptr<const Film> film, boost::shared_ptr<Job>);
        std::string summary () const;
        std::string technical_summary () const;