shared_ptr is a bit excessive for DecodeOptions.
[dcpomatic.git] / src / lib / check_hashes_job.cc
index 099845d8c7a94583b735354d416d3b94f6acef8c..2ad97c382d5eeb38987db5a635cd31393818e6ed 100644 (file)
@@ -34,9 +34,9 @@ using std::stringstream;
 using std::ifstream;
 using boost::shared_ptr;
 
-CheckHashesJob::CheckHashesJob (shared_ptr<Film> f, shared_ptr<const DecodeOptions> od, shared_ptr<Job> req)
+CheckHashesJob::CheckHashesJob (shared_ptr<Film> f, DecodeOptions o, shared_ptr<Job> req)
        : Job (f, req)
-       , _decode_opt (od)
+       , _decode_opt (o)
        , _bad (0)
 {