aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/json-to-value.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/json-to-value.hh')
-rw-r--r--src/libexpr/json-to-value.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/json-to-value.hh b/src/libexpr/json-to-value.hh
index 3b0fdae11..84bec4eba 100644
--- a/src/libexpr/json-to-value.hh
+++ b/src/libexpr/json-to-value.hh
@@ -8,6 +8,6 @@ namespace nix {
MakeError(JSONParseError, EvalError);
-void parseJSON(EvalState & state, const string & s, Value & v);
+void parseJSON(EvalState & state, const std::string_view & s, Value & v);
}