Commit 926d4150 authored by Max Kellermann's avatar Max Kellermann

playlist/SongEnumerator: allow NextSong() to throw exceptions

parent 6f267adc
...@@ -35,6 +35,8 @@ public: ...@@ -35,6 +35,8 @@ public:
/** /**
* Obtain the next song. Returns nullptr if there are no more * Obtain the next song. Returns nullptr if there are no more
* songs. * songs.
*
* Throws on error.
*/ */
virtual std::unique_ptr<DetachedSong> NextSong() = 0; virtual std::unique_ptr<DetachedSong> NextSong() = 0;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment