diff --git a/src/util/DeleteDisposer.hxx b/src/util/DeleteDisposer.hxx index 2201acfae..7be76d085 100644 --- a/src/util/DeleteDisposer.hxx +++ b/src/util/DeleteDisposer.hxx @@ -10,7 +10,7 @@ class DeleteDisposer { public: template - void operator()(T *t) { + void operator()(T *t) const noexcept { delete t; } };