db/simple/Save: migrate from class Error to C++ exceptions
This commit is contained in:
@@ -38,11 +38,9 @@ song_save(BufferedOutputStream &os, const DetachedSong &song);
|
||||
* Loads a song from the input file. Reading stops after the
|
||||
* "song_end" line.
|
||||
*
|
||||
* @param error location to store the error occurring
|
||||
* @return true on success, false on error
|
||||
* Throws #std::runtime_error on error.
|
||||
*/
|
||||
DetachedSong *
|
||||
song_load(TextFile &file, const char *uri,
|
||||
Error &error);
|
||||
song_load(TextFile &file, const char *uri);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user