diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-09 20:02:33 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-12-09 20:28:00 +0100 |
commit | 4f3422c58ed4fc14b222cd474843affb9cc509c4 (patch) | |
tree | 5d6079f5309fabf553119fad5b01779c6a8097d0 /src/configure.cc | |
parent | 5ba36c7be0a12b9b052fb172a209d3b6dffc9a99 (diff) |
Various clang-tidy fixes.
Diffstat (limited to 'src/configure.cc')
-rw-r--r-- | src/configure.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::string> 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<std::string, std::string> 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(); |