summaryrefslogtreecommitdiff
path: root/src/SongSave.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-29 09:45:34 +0200
committerMax Kellermann <max@musicpd.org>2016-10-29 09:45:34 +0200
commit90a14e14f457e7ec34dd8ff3dcfe710e2dd93208 (patch)
treed12ec940506c2a51fee437e5499ea248a99b7650 /src/SongSave.hxx
parentdea46e8d5a714a483aee8e14775eb8b3a69aa4ad (diff)
db/simple/Save: migrate from class Error to C++ exceptions
Diffstat (limited to 'src/SongSave.hxx')
-rw-r--r--src/SongSave.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/SongSave.hxx b/src/SongSave.hxx
index db59adb8c..5c29fbfd9 100644
--- a/src/SongSave.hxx
+++ b/src/SongSave.hxx
@@ -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