Try to fix issues with macos clang

This commit is contained in:
Guillaume Maudoux 2022-03-18 14:48:49 +01:00
parent 9c42c00570
commit 37e84316c2

View file

@ -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),