diff options
Diffstat (limited to 'src/DatabaseVisitor.hxx')
-rw-r--r-- | src/DatabaseVisitor.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DatabaseVisitor.hxx b/src/DatabaseVisitor.hxx index 96d24911f..37b298a3c 100644 --- a/src/DatabaseVisitor.hxx +++ b/src/DatabaseVisitor.hxx @@ -28,8 +28,9 @@ struct directory; struct song; struct playlist_metadata; -typedef std::function<bool(const struct directory *, GError **)> VisitDirectory; -typedef std::function<bool(struct song *, GError **)> VisitSong; -typedef std::function<bool(const struct playlist_metadata *, const struct directory *, GError **)> VisitPlaylist; +typedef std::function<bool(const directory &, GError **)> VisitDirectory; +typedef std::function<bool(struct song &, GError **)> VisitSong; +typedef std::function<bool(const playlist_metadata &, const directory &, + GError **)> VisitPlaylist; #endif |