summaryrefslogtreecommitdiff
path: root/src/Partition.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-27 21:59:17 +0200
committerMax Kellermann <max@musicpd.org>2016-10-27 22:04:41 +0200
commit6961bd61cac50117872f6cf43585ed594e45abb1 (patch)
treedee3ec435f875867ac5e7255cde862b07f469dbe /src/Partition.hxx
parent726fc53e624a9b4005194cd57cba035e89b3331d (diff)
LocateUri: migrate from class Error to C++ exceptions
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r--src/Partition.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx
index fb21fa69e..9a47f23d1 100644
--- a/src/Partition.hxx
+++ b/src/Partition.hxx
@@ -68,9 +68,8 @@ struct Partition final : QueueListener, PlayerListener, MixerListener {
}
unsigned AppendURI(const SongLoader &loader,
- const char *uri_utf8,
- Error &error) {
- return playlist.AppendURI(pc, loader, uri_utf8, error);
+ const char *uri_utf8) {
+ return playlist.AppendURI(pc, loader, uri_utf8);
}
void DeletePosition(unsigned position) {