aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index f99ab8ca8..9360c2102 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -552,7 +552,7 @@ struct CompareValues
return (*this)(v1, v2, errorCtx);
}
- bool operator () (Value * v1, Value * v2, const std::string_view & errorCtx) const
+ bool operator () (Value * v1, Value * v2, std::string_view errorCtx) const
{
try {
if (v1->type() == nFloat && v2->type() == nInt)