Fix erroneous check wrt intrinsic duration.
[dcpomatic.git] / src / lib / job.h
index b09964cf9223c0654d0466b53cff983edc227b93..f32cfa811ad58c19d10c320bcb323120099354ba 100644 (file)
@@ -30,7 +30,6 @@
 #include <boost/signals2.hpp>
 
 class Film;
-class Options;
 
 /** @class Job
  *  @brief A parent class to represent long-running tasks which are run in their own thread.
@@ -39,6 +38,7 @@ class Job : public boost::enable_shared_from_this<Job>
 {
 public:
        Job (boost::shared_ptr<Film> s, boost::shared_ptr<Job> req);
+       virtual ~Job() {}
 
        /** @return user-readable name of this job */
        virtual std::string name () const = 0;