util/DeleteDisposer: convert struct to class

This commit is contained in:
Max Kellermann 2017-09-13 10:35:51 +02:00
parent f46ac45d69
commit e76f4c2ae9

View File

@ -34,7 +34,8 @@
* A disposer for boost::intrusive that invokes the "delete" operator
* on the given pointer.
*/
struct DeleteDisposer {
class DeleteDisposer {
public:
template<typename T>
void operator()(T *t) {
delete t;