SongSave: allow throwing any exception
This commit is contained in:
parent
b03e4ae692
commit
a1e2602c3d
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user