diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
| commit | b249700e1da7dd6631a8b4440587f4093a2bdef1 (patch) | |
| tree | 71f88855e72b11f927d194f0676bac93845d26be /src/lib/subtitle_analysis.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/subtitle_analysis.h')
| -rw-r--r-- | src/lib/subtitle_analysis.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/subtitle_analysis.h b/src/lib/subtitle_analysis.h index 0a9dc6dca..04dcc9501 100644 --- a/src/lib/subtitle_analysis.h +++ b/src/lib/subtitle_analysis.h @@ -20,14 +20,13 @@ #include "rect.h" -#include <boost/noncopyable.hpp> #include <boost/filesystem.hpp> /** @class SubtitleAnalysis * @brief Class to store the results of a SubtitleAnalysisJob. */ -class SubtitleAnalysis : public boost::noncopyable +class SubtitleAnalysis { public: explicit SubtitleAnalysis (boost::filesystem::path path); @@ -42,6 +41,9 @@ public: , _analysis_y_offset (analysis_y_offset_) {} + SubtitleAnalysis (SubtitleAnalysis const&) = delete; + SubtitleAnalysis& operator= (SubtitleAnalysis const&) = delete; + void write (boost::filesystem::path path) const; boost::optional<dcpomatic::Rect<double>> bounding_box () const { |
