aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-03-18 14:48:49 +0100
committerGuillaume Maudoux <guillaume.maudoux@tweag.io>2022-03-18 14:48:49 +0100
commit37e84316c28662f23613896f3592260bdf358aca (patch)
tree0fe3e32ece27028ec52c6656722b4e282279932a /src/libexpr/eval.cc
parent9c42c005706a68f31a28398ce63b956ad0510549 (diff)
Try to fix issues with macos clang
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 7b843aeaf..dc52f8db7 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -712,7 +712,7 @@ LocalNoInlineNoReturn(void throwTypeErrorWithTrace(
const std::string & s2,
const Symbol & sym,
const Pos & p2,
- const char * s3))
+ const std::string_view & s3))
{
throw TypeError({
.msg = hintfmt(s, s2, sym),
@@ -727,7 +727,7 @@ LocalNoInlineNoReturn(void throwTypeErrorWithTrace(
const std::string & s2,
const Symbol & sym,
const Pos & p2,
- const char * s3))
+ const std::string_view & s3))
{
throw TypeError({
.msg = hintfmt(s, s2, sym),