aboutsummaryrefslogtreecommitdiffstats
path: root/src/Partition.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Partition.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx
index 512ba3bca..4a5bcc6c7 100644
--- a/src/Partition.hxx
+++ b/src/Partition.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2013 The Music Player Daemon Project
+ * Copyright (C) 2003-2014 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -76,8 +76,8 @@ struct Partition {
return playlist.DeleteRange(pc, start, end);
}
- void DeleteSong(const Song &song) {
- playlist.DeleteSong(pc, song);
+ void DeleteSong(const char *uri) {
+ playlist.DeleteSong(pc, uri);
}
void Shuffle(unsigned start, unsigned end) {