db/simple/Save: migrate from class Error to C++ exceptions
This commit is contained in:
@@ -32,8 +32,10 @@ class Error;
|
||||
void
|
||||
playlist_vector_save(BufferedOutputStream &os, const PlaylistVector &pv);
|
||||
|
||||
bool
|
||||
playlist_metadata_load(TextFile &file, PlaylistVector &pv, const char *name,
|
||||
Error &error);
|
||||
/**
|
||||
* Throws #std::runtime_error on error.
|
||||
*/
|
||||
void
|
||||
playlist_metadata_load(TextFile &file, PlaylistVector &pv, const char *name);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user