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:
@@ -57,8 +57,8 @@ public:
|
||||
cout << "DatabaseModified" << endl;
|
||||
}
|
||||
|
||||
virtual void OnDatabaseSongRemoved(const LightSong &song) override {
|
||||
cout << "SongRemoved " << song.GetURI() << endl;
|
||||
virtual void OnDatabaseSongRemoved(const char *uri) override {
|
||||
cout << "SongRemoved " << uri << endl;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user