make Playlist::NowPlayingSong() return pointer, not reference
This commit is contained in:
@@ -51,7 +51,7 @@ class Playlist : public Screen< Menu<MPD::Song> >
|
||||
virtual List *GetList() { return w; }
|
||||
|
||||
bool isPlaying() { return NowPlaying >= 0 && !w->Empty(); }
|
||||
const MPD::Song &NowPlayingSong();
|
||||
const MPD::Song *NowPlayingSong();
|
||||
|
||||
void Sort();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user