diff options
author | Max Kellermann <max@duempel.org> | 2013-01-04 00:02:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-04 00:02:09 +0100 |
commit | 9d312ab208f797a69c8366f4a961d6cb3228cecb (patch) | |
tree | db4f22c858684ab16f0a8010207b9fbf46119985 /src/PlaylistInfo.hxx | |
parent | 06be0a199722e945701d720fe40068c6de6c8f40 (diff) | |
download | mpd-9d312ab208f797a69c8366f4a961d6cb3228cecb.tar.gz mpd-9d312ab208f797a69c8366f4a961d6cb3228cecb.tar.xz mpd-9d312ab208f797a69c8366f4a961d6cb3228cecb.zip |
PlaylistFile: reuse classes PlaylistInfo and PlaylistVector
.. instead of rolling own classes.
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistInfo.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/PlaylistInfo.hxx b/src/PlaylistInfo.hxx index a50cdd445..96e4f6db9 100644 --- a/src/PlaylistInfo.hxx +++ b/src/PlaylistInfo.hxx @@ -50,6 +50,8 @@ struct PlaylistInfo { } }; + PlaylistInfo() = default; + template<typename N> PlaylistInfo(N &&_name, time_t _mtime) :name(std::forward<N>(_name)), mtime(_mtime) {} |