diff options
Diffstat (limited to 'src/task_fn.cc')
-rw-r--r-- | src/task_fn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_fn.cc b/src/task_fn.cc index b11ff15..0ad697a 100644 --- a/src/task_fn.cc +++ b/src/task_fn.cc @@ -14,10 +14,10 @@ TaskFn::TaskFn(const ctor::build_configuration& config, const ctor::settings& settings, const std::string& sourceDir, const ctor::source& source) : Task(config, settings, sourceDir) + , sourceFile(sourceDir) , config(config) , settings(settings) { - sourceFile = sourceDir; sourceFile /= source.file; std::filesystem::create_directories(std::filesystem::path(settings.builddir) / sourceFile.parent_path()); |