aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/MemoryPlaylistProvider.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 18:51:40 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 20:32:54 +0100
commit8cad20585dbbf5987d6649bea9c6b6ba688b7bff (patch)
treeb93e9dbd1e3f6e8f895ea53b2d5bfec09e6fab46 /src/playlist/MemoryPlaylistProvider.hxx
parenta8b75dc4df3bf3ba9a1554249cf6d07527184864 (diff)
downloadmpd-8cad20585dbbf5987d6649bea9c6b6ba688b7bff.tar.gz
mpd-8cad20585dbbf5987d6649bea9c6b6ba688b7bff.tar.xz
mpd-8cad20585dbbf5987d6649bea9c6b6ba688b7bff.zip
playlist/memory: use std::forward_list instead of GSList
Diffstat (limited to '')
-rw-r--r--src/playlist/MemoryPlaylistProvider.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playlist/MemoryPlaylistProvider.hxx b/src/playlist/MemoryPlaylistProvider.hxx
index ad0a74d8a..246ffd10a 100644
--- a/src/playlist/MemoryPlaylistProvider.hxx
+++ b/src/playlist/MemoryPlaylistProvider.hxx
@@ -21,17 +21,17 @@
#define MPD_MEMORY_PLAYLIST_PROVIDER_HXX
#include "PlaylistPlugin.hxx"
+#include "SongPointer.hxx"
-#include <glib.h>
+#include <forward_list>
struct song;
class MemoryPlaylistProvider : public playlist_provider {
- GSList *songs;
+ std::forward_list<SongPointer> songs;
public:
- MemoryPlaylistProvider(GSList *_songs);
- ~MemoryPlaylistProvider();
+ MemoryPlaylistProvider(std::forward_list<SongPointer> &&_songs);
song *Read();
};