diff options
Diffstat (limited to 'src/playlist/MemoryPlaylistProvider.hxx')
-rw-r--r-- | src/playlist/MemoryPlaylistProvider.hxx | 8 |
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(); }; |