summaryrefslogtreecommitdiff
path: root/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-11-26 12:10:33 +0100
committerMax Kellermann <max@musicpd.org>2017-11-26 12:10:33 +0100
commit2a774a1fea7fcd612422fddb0e7fe6556da3376a (patch)
treeddf55a5d462eeb8a6b7e87e670de680667fa3827 /src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
parentb13b023c6b9810ecad0f00925e622c7aa4a2f7d9 (diff)
playlist/{flac,m3u}: use std::make_unique
Diffstat (limited to 'src/playlist/plugins/ExtM3uPlaylistPlugin.cxx')
-rw-r--r--src/playlist/plugins/ExtM3uPlaylistPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
index 627597be0..454e3ea51 100644
--- a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
@@ -135,7 +135,7 @@ ExtM3uPlaylist::NextSong()
line_s = StripLeft(line_s);
} while (line_s[0] == '#' || *line_s == 0);
- return std::unique_ptr<DetachedSong>(new DetachedSong(line_s, std::move(tag)));
+ return std::make_unique<DetachedSong>(line_s, std::move(tag));
}
static const char *const extm3u_suffixes[] = {