diff options
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(); |