aboutsummaryrefslogtreecommitdiff
path: root/src/playlist/MemoryPlaylistProvider.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/MemoryPlaylistProvider.hxx')
-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 ad0a74d8..246ffd10 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();
};