diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-29 19:08:37 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-29 19:08:37 +0200 |
commit | 50f13b06fb1b2f50a97323c000d1094d090f08ea (patch) | |
tree | 6b99e97ffc6bac40f67d1e83cec8e5eef68cc4a1 /src/libexpr/eval.hh | |
parent | b681408879c9ad1e500fa6e4566c6d119def4271 (diff) |
EvalCache: Store string contexts
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index be34f3f32..87bb42c11 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -333,7 +333,7 @@ string showType(const Value & v); /* Decode a context string ‘!<name>!<path>’ into a pair <path, name>. */ -std::pair<string, string> decodeContext(const string & s); +std::pair<string, string> decodeContext(std::string_view s); /* If `path' refers to a directory, then append "/default.nix". */ Path resolveExprPath(Path path); |