aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/plugins/simple/Directory.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-10-19 15:57:00 +0200
committerMax Kellermann <max@duempel.org>2015-10-19 15:57:30 +0200
commit8d2370635408b9acd392843de96179383a95a4bf (patch)
tree7c1572bedb11ffea8eb8dfaa9a4c78a3e1c64d2f /src/db/plugins/simple/Directory.hxx
parent62bfb1a2731ba6c7ee27009316109ef03a60d950 (diff)
downloadmpd-8d2370635408b9acd392843de96179383a95a4bf.tar.gz
mpd-8d2370635408b9acd392843de96179383a95a4bf.tar.xz
mpd-8d2370635408b9acd392843de96179383a95a4bf.zip
util/DeleteDisposer: new utility class
Diffstat (limited to 'src/db/plugins/simple/Directory.hxx')
-rw-r--r--src/db/plugins/simple/Directory.hxx6
1 files changed, 0 insertions, 6 deletions
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<link_mode> LinkMode;
typedef boost::intrusive::list_member_hook<LinkMode> 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