summaryrefslogtreecommitdiff
path: root/src/playlist/plugins/M3uPlaylistPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist/plugins/M3uPlaylistPlugin.cxx')
-rw-r--r--src/playlist/plugins/M3uPlaylistPlugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playlist/plugins/M3uPlaylistPlugin.cxx b/src/playlist/plugins/M3uPlaylistPlugin.cxx
index 0b1bfda1b..6b689b9d3 100644
--- a/src/playlist/plugins/M3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/M3uPlaylistPlugin.cxx
@@ -29,17 +29,17 @@ class M3uPlaylist final : public SongEnumerator {
TextInputStream tis;
public:
- M3uPlaylist(InputStream &is)
- :tis(is) {
+ M3uPlaylist(InputStreamPtr &&is)
+ :tis(std::move(is)) {
}
virtual std::unique_ptr<DetachedSong> NextSong() override;
};
static SongEnumerator *
-m3u_open_stream(InputStream &is)
+m3u_open_stream(InputStreamPtr &&is)
{
- return new M3uPlaylist(is);
+ return new M3uPlaylist(std::move(is));
}
std::unique_ptr<DetachedSong>