diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-03 11:17:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-03 20:18:04 +0200 |
| commit | 689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch) | |
| tree | edd1264941263f2fa25a98d61f98c87876c5b667 /src/lib/analyse_subtitles_job.h | |
| parent | 0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/analyse_subtitles_job.h')
| -rw-r--r-- | src/lib/analyse_subtitles_job.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/analyse_subtitles_job.h b/src/lib/analyse_subtitles_job.h index 5ad9dd4a4..daaaf267a 100644 --- a/src/lib/analyse_subtitles_job.h +++ b/src/lib/analyse_subtitles_job.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington <cth@carlh.net> + Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,21 +18,24 @@ */ + #include "job.h" #include "types.h" #include "player_text.h" + class Film; class Content; + class AnalyseSubtitlesJob : public Job { public: AnalyseSubtitlesJob (std::shared_ptr<const Film> film, std::shared_ptr<Content> content); - std::string name () const; - std::string json_name () const; - void run (); + std::string name () const override; + std::string json_name () const override; + void run () override; boost::filesystem::path path () const { return _path; @@ -43,6 +46,6 @@ private: std::weak_ptr<Content> _content; boost::filesystem::path _path; - boost::optional<dcpomatic::Rect<double> > _bounding_box; + boost::optional<dcpomatic::Rect<double>> _bounding_box; }; |
