PlaylistFile: reuse classes PlaylistInfo and PlaylistVector

.. instead of rolling own classes.
This commit is contained in:
Max Kellermann
2013-01-04 00:02:09 +01:00
parent 06be0a1997
commit 9d312ab208
6 changed files with 15 additions and 16 deletions

View File

@@ -50,6 +50,8 @@ struct PlaylistInfo {
}
};
PlaylistInfo() = default;
template<typename N>
PlaylistInfo(N &&_name, time_t _mtime)
:name(std::forward<N>(_name)), mtime(_mtime) {}