playlist/SongEnumerator: allow NextSong() to throw exceptions

This commit is contained in:
Max Kellermann 2018-01-20 20:11:15 +01:00
parent 6f267adc14
commit 926d4150c5
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,8 @@ public:
/**
* Obtain the next song. Returns nullptr if there are no more
* songs.
*
* Throws on error.
*/
virtual std::unique_ptr<DetachedSong> NextSong() = 0;
};