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 /src/DirectorySave.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-- | src/DirectorySave.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DirectorySave.cxx b/src/DirectorySave.cxx index 6a5efb058..1dcc36dbf 100644 --- a/src/DirectorySave.cxx +++ b/src/DirectorySave.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "DirectorySave.hxx" #include "Directory.hxx" -#include "song.h" +#include "Song.hxx" #include "SongSave.hxx" #include "PlaylistDatabase.hxx" #include "TextFile.hxx" @@ -65,7 +65,7 @@ directory_save(FILE *fp, const Directory *directory) return; } - struct song *song; + Song *song; directory_for_each_song(song, directory) song_save(fp, song); @@ -143,7 +143,7 @@ directory_load(TextFile &file, Directory *directory, GError **error) return false; } else if (g_str_has_prefix(line, SONG_BEGIN)) { const char *name = line + sizeof(SONG_BEGIN) - 1; - struct song *song; + Song *song; if (directory->FindSong(name) != nullptr) { g_set_error(error, directory_quark(), 0, |