From ba161ec572b98d3bcf9f735ff122133319fe896a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Jul 2013 13:25:12 +0200 Subject: song: convert header to C++ --- test/dump_playlist.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/dump_playlist.cxx') 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 */ -- cgit v1.2.3