From 0eb05b827fc239854773b43baff82581d65f9c5b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Jan 2013 23:06:10 +0100 Subject: Directory: turn functions to methods --- src/DatabaseGlue.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/DatabaseGlue.cxx') diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx index 59b582873..0b2bb0c37 100644 --- a/src/DatabaseGlue.cxx +++ b/src/DatabaseGlue.cxx @@ -128,9 +128,7 @@ db_get_directory(const char *name) if (name == NULL) return music_root; - struct directory *directory = - directory_lookup_directory(music_root, name); - return directory; + return music_root->LookupDirectory(name); } struct song * -- cgit v1.2.3