diff --git a/src/util/DeleteDisposer.hxx b/src/util/DeleteDisposer.hxx index 15393a20a..16b958359 100644 --- a/src/util/DeleteDisposer.hxx +++ b/src/util/DeleteDisposer.hxx @@ -34,7 +34,8 @@ * A disposer for boost::intrusive that invokes the "delete" operator * on the given pointer. */ -struct DeleteDisposer { +class DeleteDisposer { +public: template void operator()(T *t) { delete t;