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/configure.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/configure.cc') diff --git a/src/configure.cc b/src/configure.cc index 4b2fbf0..a0e107a 100644 --- a/src/configure.cc +++ b/src/configure.cc @@ -826,7 +826,7 @@ int configure(const ctor::settings& global_settings, int argc, char* argv[]) std::vector args; for(int i = 2; i < argc; ++i) // skip command and the first 'configure' arg { - args.push_back(argv[i]); + args.emplace_back(argv[i]); } std::map env; @@ -885,7 +885,7 @@ int reconfigure(const ctor::settings& global_settings, int argc, char* argv[]) no_rerun = true; continue; } - args.push_back(argv[i]); + args.emplace_back(argv[i]); } const auto& cfg = ctor::get_configuration(); -- cgit v1.2.3