diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-10 16:00:36 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 17:13:24 +0100 |
commit | 1484d74c1dfd24cfe5b6f13f76d58ff395e4d253 (patch) | |
tree | 2f71f2aa6d6dd29eda51924f985de7f9caee78c0 /src/task_fn.h | |
parent | f31661d392c1332ceb0edcbc9fd35f4cb49bb50d (diff) |
Put ctor.h contents in ctor namespace.
Diffstat (limited to 'src/task_fn.h')
-rw-r--r-- | src/task_fn.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/task_fn.h b/src/task_fn.h index e350395..654241c 100644 --- a/src/task_fn.h +++ b/src/task_fn.h @@ -10,16 +10,13 @@ #include <future> #include <filesystem> -struct BuildConfiguration; -struct Settings; - class TaskFn : public Task { public: - TaskFn(const BuildConfiguration& config, - const Settings& settings, - const std::string& sourceDir, const Source& source); + TaskFn(const ctor::BuildConfiguration& config, + const ctor::Settings& settings, + const std::string& sourceDir, const ctor::Source& source); virtual ~TaskFn() = default; bool dirtyInner() override; @@ -41,7 +38,7 @@ protected: std::filesystem::path sourceFile; std::filesystem::path _targetFile; - const BuildConfiguration& config; - const Settings& settings; + const ctor::BuildConfiguration& config; + const ctor::Settings& settings; std::filesystem::path sourceDir; }; |