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++ --- src/UpdateWalk.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/UpdateWalk.cxx') diff --git a/src/UpdateWalk.cxx b/src/UpdateWalk.cxx index 4b415895e..cc2b5743e 100644 --- a/src/UpdateWalk.cxx +++ b/src/UpdateWalk.cxx @@ -26,7 +26,7 @@ #include "DatabaseLock.hxx" #include "DatabaseSimple.hxx" #include "Directory.hxx" -#include "song.h" +#include "Song.hxx" #include "PlaylistVector.hxx" #include "PlaylistRegistry.hxx" #include "Mapper.hxx" @@ -109,7 +109,7 @@ remove_excluded_from_directory(Directory *directory, } } - struct song *song, *ns; + Song *song, *ns; directory_for_each_song_safe(song, ns, directory) { assert(song->parent == directory); @@ -138,7 +138,7 @@ purge_deleted_from_directory(Directory *directory) modified = true; } - struct song *song, *ns; + Song *song, *ns; directory_for_each_song_safe(song, ns, directory) { const Path path = map_song_fs(song); if (path.IsNull() || !FileExists(path)) { @@ -414,7 +414,7 @@ directory_make_child_checked(Directory *parent, const char *name_utf8) /* if we're adding directory paths, make sure to delete filenames with potentially the same name */ db_lock(); - struct song *conflicting = parent->FindSong(name_utf8); + Song *conflicting = parent->FindSong(name_utf8); if (conflicting) delete_song(parent, conflicting); -- cgit v1.2.3