From 4f3422c58ed4fc14b222cd474843affb9cc509c4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 9 Dec 2024 20:02:33 +0100 Subject: Various clang-tidy fixes. --- src/task_cc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/task_cc.cc') 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(); -- cgit v1.2.3