From 37e84316c28662f23613896f3592260bdf358aca Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Fri, 18 Mar 2022 14:48:49 +0100 Subject: [PATCH] Try to fix issues with macos clang --- src/libexpr/eval.cc | 4 ++-- 1 file 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),