diff options
author | Max Kellermann <max@duempel.org> | 2013-01-02 22:04:03 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-02 22:16:05 +0100 |
commit | 8331de424a67b137cd83ce817da0fceec647dc2f (patch) | |
tree | b5243fbff385d9732c683cb1efc64eec85f3189f /src/DatabasePrint.cxx | |
parent | 98dbdf72b3c35878494df4954a447cec250a835d (diff) | |
download | mpd-8331de424a67b137cd83ce817da0fceec647dc2f.tar.gz mpd-8331de424a67b137cd83ce817da0fceec647dc2f.tar.xz mpd-8331de424a67b137cd83ce817da0fceec647dc2f.zip |
PlaylistInfo: rename class, use std::string
Diffstat (limited to '')
-rw-r--r-- | src/DatabasePrint.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx index 87e41be8e..1e2842091 100644 --- a/src/DatabasePrint.cxx +++ b/src/DatabasePrint.cxx @@ -91,19 +91,19 @@ PrintSongFull(struct client *client, song &song) static bool PrintPlaylistBrief(struct client *client, - const playlist_metadata &playlist, + const PlaylistInfo &playlist, const directory &directory) { - print_playlist_in_directory(client, directory, playlist.name); + print_playlist_in_directory(client, directory, playlist.name.c_str()); return true; } static bool PrintPlaylistFull(struct client *client, - const playlist_metadata &playlist, + const PlaylistInfo &playlist, const directory &directory) { - print_playlist_in_directory(client, directory, playlist.name); + print_playlist_in_directory(client, directory, playlist.name.c_str()); if (playlist.mtime > 0) time_print(client, "Last-Modified", playlist.mtime); |