From 50f13b06fb1b2f50a97323c000d1094d090f08ea Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 29 Jun 2020 19:08:37 +0200 Subject: EvalCache: Store string contexts --- src/libexpr/eval.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/eval.hh') 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 ‘!!’ into a pair . */ -std::pair decodeContext(const string & s); +std::pair decodeContext(std::string_view s); /* If `path' refers to a directory, then append "/default.nix". */ Path resolveExprPath(Path path); -- cgit v1.2.3