aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-12 01:57:06 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-12 01:57:06 +0000
commitabea26a9683d58e0bee43d9ededeb710f3617603 (patch)
treed02df83b600c46f018d20754e9ba49ff283b2d3c /src/libstore/derivations.cc
parent442d43178ba47c2312b77026f88a236846e7c425 (diff)
BasicDerivation::findOutput cannot return reference anymore
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r--src/libstore/derivations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index 86f55342d..bde147502 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -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())