aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-08 07:48:44 +0100
committereldritch horrors <pennae@lix.systems>2024-03-09 04:47:05 -0700
commit3d9c7fc1e72e3471ae35c96ec418e8ac0913b099 (patch)
treea6cfe6bb689946eac04aedad54e74add609bc16b /src/libexpr
parentf536696b732bc81c0aa05e20ff0e37dd0d02a2d4 (diff)
Add comment
(cherry picked from commit 9723f533d85133fa3c4d9421a58c7765cb61e733) Change-Id: Idd729febc0bb8c7c8db72a0fae73b680f66767f4
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/eval.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 830db4558..325ae792c 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -227,6 +227,7 @@ public:
template<class T, typename... Args>
[[nodiscard, gnu::noinline]]
EvalErrorBuilder<T> & error(const Args & ... args) {
+ // `EvalErrorBuilder::debugThrow` performs the corresponding `delete`.
return *new EvalErrorBuilder<T>(*this, args...);
}