aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateDatabase.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 22:16:52 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 02:25:06 +0100
commit9023ba4a81d597c8694432655833cf23d83c6cde (patch)
tree304c2465ea160297dff17302f36c4cc38687ccb6 /src/UpdateDatabase.cxx
parent83488848e1091024a0a307b1539c1a85762ee1f1 (diff)
downloadmpd-9023ba4a81d597c8694432655833cf23d83c6cde.tar.gz
mpd-9023ba4a81d597c8694432655833cf23d83c6cde.tar.xz
mpd-9023ba4a81d597c8694432655833cf23d83c6cde.zip
PlaylistVector: use std::list
Diffstat (limited to '')
-rw-r--r--src/UpdateDatabase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/UpdateDatabase.cxx b/src/UpdateDatabase.cxx
index 50697511c..984fb1be8 100644
--- a/src/UpdateDatabase.cxx
+++ b/src/UpdateDatabase.cxx
@@ -96,7 +96,7 @@ delete_name_in(Directory *parent, const char *name)
modified = true;
}
- playlist_vector_remove(&parent->playlists, name);
+ parent->playlists.erase(name);
db_unlock();