Add comment

(cherry picked from commit 9723f533d8)
Change-Id: Idd729febc0bb8c7c8db72a0fae73b680f66767f4
This commit is contained in:
eldritch horrors 2024-03-08 07:48:44 +01:00
parent f536696b73
commit 3d9c7fc1e7

View file

@ -227,6 +227,7 @@ public:
template<class T, typename... Args> template<class T, typename... Args>
[[nodiscard, gnu::noinline]] [[nodiscard, gnu::noinline]]
EvalErrorBuilder<T> & error(const Args & ... args) { EvalErrorBuilder<T> & error(const Args & ... args) {
// `EvalErrorBuilder::debugThrow` performs the corresponding `delete`.
return *new EvalErrorBuilder<T>(*this, args...); return *new EvalErrorBuilder<T>(*this, args...);
} }