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/analyse_subtitles_job.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/analyse_subtitles_job.h')
| -rw-r--r-- | src/lib/analyse_subtitles_job.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/analyse_subtitles_job.h b/src/lib/analyse_subtitles_job.h index 88b5d23dc..5ad9dd4a4 100644 --- a/src/lib/analyse_subtitles_job.h +++ b/src/lib/analyse_subtitles_job.h @@ -28,7 +28,7 @@ class Content; class AnalyseSubtitlesJob : public Job { public: - AnalyseSubtitlesJob (boost::shared_ptr<const Film> film, boost::shared_ptr<Content> content); + AnalyseSubtitlesJob (std::shared_ptr<const Film> film, std::shared_ptr<Content> content); std::string name () const; std::string json_name () const; @@ -41,7 +41,7 @@ public: private: void analyse (PlayerText text, TextType type); - boost::weak_ptr<Content> _content; + std::weak_ptr<Content> _content; boost::filesystem::path _path; boost::optional<dcpomatic::Rect<double> > _bounding_box; }; |
