Commit e76f4c2a authored by Max Kellermann's avatar Max Kellermann

util/DeleteDisposer: convert struct to class

parent f46ac45d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment