From 8d2370635408b9acd392843de96179383a95a4bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 19 Oct 2015 15:57:00 +0200 Subject: util/DeleteDisposer: new utility class --- src/db/plugins/simple/Directory.hxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/db/plugins/simple/Directory.hxx') diff --git a/src/db/plugins/simple/Directory.hxx b/src/db/plugins/simple/Directory.hxx index 115030a8c..bad4647a0 100644 --- a/src/db/plugins/simple/Directory.hxx +++ b/src/db/plugins/simple/Directory.hxx @@ -53,12 +53,6 @@ struct Directory { typedef boost::intrusive::link_mode LinkMode; typedef boost::intrusive::list_member_hook Hook; - struct Disposer { - void operator()(Directory *directory) const { - delete directory; - } - }; - /** * Pointers to the siblings of this directory within the * parent directory. It is unused (undefined) in the root -- cgit v1.2.3