db/DatabaseListener: pass URI to OnDatabaseSongRemoved()

There's no point in passing a LightSong reference here; the callee is
interested only in the URI.
This commit is contained in:
Max Kellermann
2016-03-18 16:18:41 +01:00
parent 296ee4961e
commit 2edad38c7c
5 changed files with 8 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ public:
* During database update, a song is about to be removed from
* the database because the file has disappeared.
*/
virtual void OnDatabaseSongRemoved(const LightSong &song) = 0;
virtual void OnDatabaseSongRemoved(const char *uri) = 0;
};
#endif