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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/task.cc') diff --git a/src/task.cc b/src/task.cc index 7813235..680dbf8 100644 --- a/src/task.cc +++ b/src/task.cc @@ -6,13 +6,14 @@ #include #include #include +#include Task::Task(const ctor::build_configuration& config, const ctor::settings& settings, - const std::string& sourceDir) + std::string sourceDir) : config(config) , output_system(config.system) , settings(settings) - , sourceDir(sourceDir) + , sourceDir(std::move(sourceDir)) { } -- cgit v1.2.3