*: use references instead of pointers

This commit is contained in:
Max Kellermann
2013-10-19 18:48:38 +02:00
parent 59f8144c50
commit ff626ac763
122 changed files with 1077 additions and 1083 deletions

View File

@@ -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