1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

BasicDerivation::findOutput cannot return reference anymore

This commit is contained in:
John Ericson 2020-07-12 01:57:06 +00:00
parent 442d43178b
commit abea26a968
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ StorePath DerivationOutput::path(const Store & store, string drvName) const
}, output);
}
const StorePath & BasicDerivation::findOutput(const Store & store, const string & id) const
const StorePath BasicDerivation::findOutput(const Store & store, const string & id) const
{
auto i = outputs.find(id);
if (i == outputs.end())