diff options
Diffstat (limited to 'src/Playlist.hxx')
-rw-r--r-- | src/Playlist.hxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Playlist.hxx b/src/Playlist.hxx index b158d0464..a93c88f05 100644 --- a/src/Playlist.hxx +++ b/src/Playlist.hxx @@ -70,12 +70,10 @@ struct playlist { int queued; playlist(unsigned max_length) - :current(-1), queued(-1) { - queue_init(&queue, max_length); + :queue(max_length), current(-1), queued(-1) { } ~playlist() { - queue_finish(&queue); } }; |