playlist/{flac,m3u}: use std::make_unique
This commit is contained in:
@@ -229,7 +229,7 @@ CueParser::Feed2(char *p) noexcept
|
||||
}
|
||||
|
||||
state = TRACK;
|
||||
current.reset(new DetachedSong(filename));
|
||||
current = std::make_unique<DetachedSong>(filename);
|
||||
assert(!current->GetTag().IsDefined());
|
||||
|
||||
song_tag = header_tag;
|
||||
|
||||
Reference in New Issue
Block a user