Merge pull request #9289 from edolstra/fix-warnings

Fix gcc warnings

(cherry picked from commit 66cb364f581486e0c426b35149ac13d19f7842bc)
Change-Id: I1474dbc18a4beaaf1bce16d4abbcc99806b79ff1
This commit is contained in:
eldritch horrors
2024-03-04 05:27:35 +01:00
parent 2633ca3f88
commit 6e0dd9f673
6 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -669,7 +669,7 @@ BuiltPaths Installable::toBuiltPaths(
BuiltPaths res;
for (auto & drvPath : Installable::toDerivations(store, installables, true))
res.push_back(BuiltPath::Opaque{drvPath});
res.emplace_back(BuiltPath::Opaque{drvPath});
return res;
}
}