diff options
author | Max Kellermann <max@duempel.org> | 2012-08-07 21:32:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-08-07 21:32:08 +0200 |
commit | 1a75abffa531d67f3c76f8cdc0423623d1324a95 (patch) | |
tree | d6172bad2b8a3012b4ceb224081eead06db954c1 /src/DatabasePlugin.hxx | |
parent | c6a0f5d3f9d70b890dfdc3ae0474dbcf72fe0499 (diff) | |
download | mpd-1a75abffa531d67f3c76f8cdc0423623d1324a95.tar.gz mpd-1a75abffa531d67f3c76f8cdc0423623d1324a95.tar.xz mpd-1a75abffa531d67f3c76f8cdc0423623d1324a95.zip |
Database{Plugin,Visitor}: pass references
Diffstat (limited to '')
-rw-r--r-- | src/DatabasePlugin.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx index 9024c7a1c..c24896fce 100644 --- a/src/DatabasePlugin.hxx +++ b/src/DatabasePlugin.hxx @@ -64,13 +64,13 @@ public: /** * Visit the selected entities. */ - virtual bool Visit(const struct db_selection *selection, + virtual bool Visit(const db_selection &selection, VisitDirectory visit_directory, VisitSong visit_song, VisitPlaylist visit_playlist, GError **error_r) const = 0; - bool Visit(const struct db_selection *selection, + bool Visit(const db_selection &selection, VisitDirectory visit_directory, VisitSong visit_song, GError **error_r) const { @@ -78,7 +78,7 @@ public: VisitPlaylist(), error_r); } - bool Visit(const struct db_selection *selection, VisitSong visit_song, + bool Visit(const db_selection &selection, VisitSong visit_song, GError **error_r) const { return Visit(selection, VisitDirectory(), visit_song, error_r); } |