X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_content.h;h=4932f2a72dbc5feaa52a9ab54d21a18877cb591a;hb=f67bc45820b4e56f90eecb97ba3b7762c119f9b5;hp=9a71d5828696683aa6b97b5b460c0eeda1ed377e;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 9a71d5828..4932f2a72 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -35,6 +35,10 @@ public: return boost::dynamic_pointer_cast (Content::shared_from_this ()); } + boost::shared_ptr shared_from_this () const { + return boost::dynamic_pointer_cast (Content::shared_from_this ()); + } + void examine (boost::shared_ptr film, boost::shared_ptr); std::string summary () const; std::string technical_summary () const;