diff options
author | regnat <rg@regnat.ovh> | 2022-03-08 16:07:17 +0100 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2022-03-08 16:07:17 +0100 |
commit | 33b7514035a967df2ab61ab9770627157aa4f5c5 (patch) | |
tree | bf8f8f1a5be904f6dca6ebc2e40887f6d2e972a4 /src/libexpr | |
parent | 0c6e46e34965ba0db4e0b755ee473868a4fef21f (diff) |
Try and make the darwin build happy
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/eval.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc index 1d88e8709..3bfb82b16 100644 --- a/src/libexpr/eval.cc +++ b/src/libexpr/eval.cc @@ -729,7 +729,7 @@ LocalNoInlineNoReturn(void throwEvalError(const char * s, const std::string & s2 LocalNoInlineNoReturn(void throwEvalError(const Pos & pos, const Suggestions & suggestions, const char * s, const std::string & s2)) { - throw EvalError({ + throw EvalError(ErrorInfo { .msg = hintfmt(s, s2), .errPos = pos, .suggestions = suggestions, @@ -738,7 +738,7 @@ LocalNoInlineNoReturn(void throwEvalError(const Pos & pos, const Suggestions & s LocalNoInlineNoReturn(void throwEvalError(const Pos & pos, const char * s, const std::string & s2)) { - throw EvalError({ + throw EvalError(ErrorInfo { .msg = hintfmt(s, s2), .errPos = pos }); |