diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-21 13:17:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-21 13:17:04 +0100 |
| commit | 4488ca79635bda37e034b888d1c43618f5e4285e (patch) | |
| tree | 89857796342721270a5a8f148139c2ea96c2201f /src/lib/job.cc | |
| parent | 6b368187e7bc16cbe0e83858f35990e536c5ccc8 (diff) | |
Pass options only to jobs that need them.
Diffstat (limited to 'src/lib/job.cc')
| -rw-r--r-- | src/lib/job.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/job.cc b/src/lib/job.cc index d3871bf72..2049e69b0 100644 --- a/src/lib/job.cc +++ b/src/lib/job.cc @@ -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) |
