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_so.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/task_so.cc') diff --git a/src/task_so.cc b/src/task_so.cc index 25839c5..5453100 100644 --- a/src/task_so.cc +++ b/src/task_so.cc @@ -38,7 +38,7 @@ TaskSO::TaskSO(const ctor::build_configuration& config, for(const auto& dep : config.depends) { - depFiles.push_back(dep); + depFiles.emplace_back(dep); } flagsFile = std::filesystem::path(settings.builddir) / cleanUp(sourceDir) / targetFile().stem(); -- cgit v1.2.3