forked from lix-project/hydra
Again, use const
in for loop
As requested by @teh. Was lost in merge with master, now added back.
This commit is contained in:
parent
162b538912
commit
363604846a
|
@ -230,7 +230,7 @@ static BasicDerivation sendInputs(
|
|||
{
|
||||
BasicDerivation basicDrv(*step.drv);
|
||||
|
||||
for (auto & [drvPath, node] : step.drv->inputDrvs.map) {
|
||||
for (const auto & [drvPath, node] : step.drv->inputDrvs.map) {
|
||||
auto drv2 = localStore.readDerivation(drvPath);
|
||||
for (auto & name : node.value) {
|
||||
if (auto i = get(drv2.outputs, name)) {
|
||||
|
|
Loading…
Reference in a new issue