aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.hh
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.hh
parent442d43178ba47c2312b77026f88a236846e7c425 (diff)
BasicDerivation::findOutput cannot return reference anymore
Diffstat (limited to 'src/libstore/derivations.hh')
-rw-r--r--src/libstore/derivations.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derivations.hh b/src/libstore/derivations.hh
index 2515188ec..4694ec0dd 100644
--- a/src/libstore/derivations.hh
+++ b/src/libstore/derivations.hh
@@ -52,7 +52,7 @@ struct BasicDerivation
/* Return the path corresponding to the output identifier `id' in
the given derivation. */
- const StorePath & findOutput(const Store & store, const std::string & id) const;
+ const StorePath findOutput(const Store & store, const std::string & id) const;
bool isBuiltin() const;