Pass options only to jobs that need them.
[dcpomatic.git] / src / lib / job.cc
index d3871bf7225da22ed1911416c1b2ee4df4cffd5d..2049e69b0093d2c0d94609c33aa09326b0fa1d7d 100644 (file)
@@ -31,12 +31,10 @@ using namespace std;
 using namespace boost;
 
 /** @param s FilmState for the film that we are operating on.
- *  @param o Options.
  *  @param l A log that we can write to.
  */
-Job::Job (shared_ptr<const FilmState> s, shared_ptr<const Options> o, Log* l, shared_ptr<Job> req)
+Job::Job (shared_ptr<const FilmState> s, Log* l, shared_ptr<Job> req)
        : _fs (s)
-       , _opt (o)
        , _log (l)
        , _required (req)
        , _state (NEW)