diff options
Diffstat (limited to 'src/task_cc.cc')
-rw-r--r-- | src/task_cc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task_cc.cc b/src/task_cc.cc index dabeefa..49aef78 100644 --- a/src/task_cc.cc +++ b/src/task_cc.cc @@ -16,12 +16,12 @@ TaskCC::TaskCC(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) , sourceDir(sourceDir) , _source(source) { - sourceFile = sourceDir; sourceFile /= source.file; std::filesystem::path base = sourceFile.parent_path(); |