aboutsummaryrefslogtreecommitdiff
path: root/src/nix-build
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-build')
-rw-r--r--src/nix-build/nix-build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index e62c4f6b1..60bc08146 100644
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -449,7 +449,7 @@ static void main_nix_build(int argc, char * * argv)
}
}
for (const auto & src : drv.inputSrcs) {
- pathsToBuild.push_back(DerivedPath::Opaque{src});
+ pathsToBuild.emplace_back(DerivedPath::Opaque{src});
pathsToCopy.insert(src);
}