Missing virtual destructor.
authorCarl Hetherington <cth@carlh.net>
Sat, 1 Dec 2012 18:59:06 +0000 (18:59 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 1 Dec 2012 18:59:06 +0000 (18:59 +0000)
src/lib/job.h

index b09964cf9223c0654d0466b53cff983edc227b93..41cefb9bee113a2ba322f06845fb4e02cf3daca0 100644 (file)
@@ -39,6 +39,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;