diff options
author | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-07-28 13:25:12 +0200 |
commit | ba161ec572b98d3bcf9f735ff122133319fe896a (patch) | |
tree | a211690e3a8b7fce1fb6db540228122bead1f2bc /test/dump_playlist.cxx | |
parent | 43f613d9be9aa2953dcfc0aacfbdfb56d5d1a708 (diff) | |
download | mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.gz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.tar.xz mpd-ba161ec572b98d3bcf9f735ff122133319fe896a.zip |
song: convert header to C++
Diffstat (limited to '')
-rw-r--r-- | test/dump_playlist.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx index 74486cd98..8eb1d6078 100644 --- a/test/dump_playlist.cxx +++ b/test/dump_playlist.cxx @@ -19,7 +19,7 @@ #include "config.h" #include "TagSave.hxx" -#include "song.h" +#include "Song.hxx" #include "Directory.hxx" #include "input_stream.h" #include "conf.h" @@ -141,7 +141,7 @@ int main(int argc, char **argv) struct input_stream *is = NULL; GError *error = NULL; struct playlist_provider *playlist; - struct song *song; + Song *song; if (argc != 3) { g_printerr("Usage: dump_playlist CONFIG URI\n"); @@ -234,7 +234,7 @@ int main(int argc, char **argv) if (song->tag != NULL) tag_save(stdout, song->tag); - song_free(song); + song->Free(); } /* deinitialize everything */ |