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_fn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/task_fn.cc') 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()); -- cgit v1.2.3