From 0c34555b02f5d24f8c836534dcc30005a42f2c95 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 9 Jan 2014 13:21:56 +0100 Subject: Directory: remove method Free() --- src/Directory.hxx | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/Directory.hxx') diff --git a/src/Directory.hxx b/src/Directory.hxx index a8e3e32cb..031cca877 100644 --- a/src/Directory.hxx +++ b/src/Directory.hxx @@ -99,14 +99,6 @@ public: return new Directory("", nullptr); } - /** - * Free this #Directory object (and the whole object tree within it), - * assuming it was already removed from the parent. - */ - void Free() { - delete this; - } - /** * Remove this #Directory object from its parent and free it. This * must not be called with the root Directory. -- cgit v1.2.3