summaryrefslogtreecommitdiff
path: root/src/lib/job.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-21 13:17:04 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-21 13:17:04 +0100
commit4488ca79635bda37e034b888d1c43618f5e4285e (patch)
tree89857796342721270a5a8f148139c2ea96c2201f /src/lib/job.h
parent6b368187e7bc16cbe0e83858f35990e536c5ccc8 (diff)
Pass options only to jobs that need them.
Diffstat (limited to 'src/lib/job.h')
-rw-r--r--src/lib/job.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/job.h b/src/lib/job.h
index f50ed0784..6b2b69b9d 100644
--- a/src/lib/job.h
+++ b/src/lib/job.h
@@ -39,7 +39,7 @@ class Options;
class Job : public boost::enable_shared_from_this<Job>
{
public:
- Job (boost::shared_ptr<const FilmState> s, boost::shared_ptr<const Options> o, Log* l, boost::shared_ptr<Job> req);
+ Job (boost::shared_ptr<const FilmState> s, Log* l, boost::shared_ptr<Job> req);
/** @return user-readable name of this job */
virtual std::string name () const = 0;
@@ -91,8 +91,6 @@ protected:
/** FilmState for this job */
boost::shared_ptr<const FilmState> _fs;
- /** options in use for this job */
- boost::shared_ptr<const Options> _opt;
/** a log that this job can write to */
Log* _log;