diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/string_text_file_content.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/string_text_file_content.h')
| -rw-r--r-- | src/lib/string_text_file_content.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 959190d32..cf71f8780 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -31,19 +31,19 @@ public: StringTextFileContent (boost::filesystem::path); StringTextFileContent (cxml::ConstNodePtr, int); - boost::shared_ptr<StringTextFileContent> shared_from_this () { - return boost::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ()); + std::shared_ptr<StringTextFileContent> shared_from_this () { + return std::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 ()); + std::shared_ptr<const StringTextFileContent> shared_from_this () const { + return std::dynamic_pointer_cast<const StringTextFileContent> (Content::shared_from_this ()); } - void examine (boost::shared_ptr<const Film> film, boost::shared_ptr<Job>); + void examine (std::shared_ptr<const Film> film, std::shared_ptr<Job>); std::string summary () const; std::string technical_summary () const; void as_xml (xmlpp::Node *, bool with_paths) const; - dcpomatic::DCPTime full_length (boost::shared_ptr<const Film> film) const; + dcpomatic::DCPTime full_length (std::shared_ptr<const Film> film) const; dcpomatic::DCPTime approximate_length () const; std::string identifier () const; |
