aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateDatabase.cxx')
-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();