From ff626ac76357940b2f0ac5cb243a68ac13df0f8a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:48:38 +0200 Subject: *: use references instead of pointers --- src/UpdateDatabase.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/UpdateDatabase.hxx') diff --git a/src/UpdateDatabase.hxx b/src/UpdateDatabase.hxx index ab8f7ec26..0462dc778 100644 --- a/src/UpdateDatabase.hxx +++ b/src/UpdateDatabase.hxx @@ -29,7 +29,7 @@ struct Song; * Caller must lock the #db_mutex. */ void -delete_song(Directory *parent, Song *song); +delete_song(Directory &parent, Song *song); /** * Recursively free a directory and all its contents. @@ -45,6 +45,6 @@ delete_directory(Directory *directory); * @return true if the database was modified */ bool -delete_name_in(Directory *parent, const char *name); +delete_name_in(Directory &parent, const char *name); #endif -- cgit v1.2.3