about summary refs log tree commit diff
path: root/third_party/nix/src/nix-build/nix-build.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-build/nix-build.cc')
-rw-r--r--third_party/nix/src/nix-build/nix-build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-build/nix-build.cc b/third_party/nix/src/nix-build/nix-build.cc
index bf20d50dbb20..b2cc303ba816 100644
--- a/third_party/nix/src/nix-build/nix-build.cc
+++ b/third_party/nix/src/nix-build/nix-build.cc
@@ -118,7 +118,7 @@ static void _main(int argc, char** argv) {
         lines.pop_front();
         inShebang = true;
         for (int i = 2; i < argc; ++i) {
-          savedArgs.push_back(argv[i]);
+          savedArgs.emplace_back(argv[i]);
         }
         args.clear();
         for (auto line : lines) {