summaryrefslogtreecommitdiff
path: root/src/task_fn.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-09 20:02:33 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2024-12-09 20:28:00 +0100
commit4f3422c58ed4fc14b222cd474843affb9cc509c4 (patch)
tree5d6079f5309fabf553119fad5b01779c6a8097d0 /src/task_fn.cc
parent5ba36c7be0a12b9b052fb172a209d3b6dffc9a99 (diff)
Various clang-tidy fixes.
Diffstat (limited to 'src/task_fn.cc')
-rw-r--r--src/task_fn.cc2
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());