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/job.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/job.h')
| -rw-r--r-- | src/lib/job.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/job.h b/src/lib/job.h index d047913a0..6d8435c60 100644 --- a/src/lib/job.h +++ b/src/lib/job.h @@ -36,12 +36,15 @@ class Film; /** @class Job * @brief A parent class to represent long-running tasks which are run in their own thread. */ -class Job : public std::enable_shared_from_this<Job>, public Signaller, public boost::noncopyable +class Job : public std::enable_shared_from_this<Job>, public Signaller { public: explicit Job (std::shared_ptr<const Film> film); virtual ~Job (); + Job (Job const&) = delete; + Job& operator= (Job const&) = delete; + /** @return user-readable name of this job */ virtual std::string name () const = 0; virtual std::string json_name () const = 0; |
