X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjob.h;fp=src%2Flib%2Fjob.h;h=6d8435c60fe29be840a244c18ba949e281614e2d;hb=b249700e1da7dd6631a8b4440587f4093a2bdef1;hp=d047913a0a750f9f82c57ee65a3dcdd86497732b;hpb=94695fc3214917ad7310af36270ce1e0b88cdfa3;p=dcpomatic.git 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, public Signaller, public boost::noncopyable +class Job : public std::enable_shared_from_this, public Signaller { public: explicit Job (std::shared_ptr 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;