Commit a1e2602c authored by Max Kellermann's avatar Max Kellermann

SongSave: allow throwing any exception

parent b03e4ae6
...@@ -40,7 +40,7 @@ song_save(BufferedOutputStream &os, const DetachedSong &song); ...@@ -40,7 +40,7 @@ song_save(BufferedOutputStream &os, const DetachedSong &song);
* Loads a song from the input file. Reading stops after the * Loads a song from the input file. Reading stops after the
* "song_end" line. * "song_end" line.
* *
* Throws #std::runtime_error on error. * Throws on error.
*/ */
std::unique_ptr<DetachedSong> std::unique_ptr<DetachedSong>
song_load(TextFile &file, const char *uri, song_load(TextFile &file, const char *uri,
......
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