Pass options only to jobs that need them.
[dcpomatic.git] / src / lib / check_hashes_job.cc
index eff9153d958ca6dbba7b0080dfd86312cf372b6f..478e4c91afc4649b995fcb5c74ba3686564ba8d5 100644 (file)
@@ -32,7 +32,8 @@ using namespace std;
 using namespace boost;
 
 CheckHashesJob::CheckHashesJob (shared_ptr<const FilmState> s, shared_ptr<const Options> o, Log* l, shared_ptr<Job> req)
-       : Job (s, o, l, req)
+       : Job (s, l, req)
+       , _opt (o)
        , _bad (0)
 {