From af1c497759dd9289e2eadfe4e33ee6164ad7cd9a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Aug 2012 18:20:43 +0200 Subject: DatabasePlugin: make Visit() const --- src/DatabasePlugin.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DatabasePlugin.hxx') diff --git a/src/DatabasePlugin.hxx b/src/DatabasePlugin.hxx index 71ad88ac..7ad0a8ee 100644 --- a/src/DatabasePlugin.hxx +++ b/src/DatabasePlugin.hxx @@ -59,7 +59,7 @@ public: * directory (UTF-8) */ virtual struct song *GetSong(const char *uri_utf8, - GError **error_r) = 0; + GError **error_r) const = 0; /** * Visit the selected entities. @@ -68,7 +68,7 @@ public: VisitDirectory visit_directory, VisitSong visit_song, VisitPlaylist visit_playlist, - GError **error_r) = 0; + GError **error_r) const = 0; }; struct DatabasePlugin { -- cgit v1.2.3