aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/SimpleDatabasePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-02 18:20:43 +0200
committerMax Kellermann <max@duempel.org>2012-08-02 19:12:27 +0200
commitaf1c497759dd9289e2eadfe4e33ee6164ad7cd9a (patch)
tree41db26d54faf1cbc0f212cff6c4deaed47ad5449 /src/db/SimpleDatabasePlugin.hxx
parent8e331cfc65b6817a147dfaac4d9c4d01414782ac (diff)
downloadmpd-af1c497759dd9289e2eadfe4e33ee6164ad7cd9a.tar.gz
mpd-af1c497759dd9289e2eadfe4e33ee6164ad7cd9a.tar.xz
mpd-af1c497759dd9289e2eadfe4e33ee6164ad7cd9a.zip
DatabasePlugin: make Visit() const
Diffstat (limited to 'src/db/SimpleDatabasePlugin.hxx')
-rw-r--r--src/db/SimpleDatabasePlugin.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/SimpleDatabasePlugin.hxx b/src/db/SimpleDatabasePlugin.hxx
index 6582118d2..34312ff89 100644
--- a/src/db/SimpleDatabasePlugin.hxx
+++ b/src/db/SimpleDatabasePlugin.hxx
@@ -59,12 +59,12 @@ public:
virtual bool Open(GError **error_r) override;
virtual void Close() override;
virtual struct song *GetSong(const char *uri_utf8,
- GError **error_r) override;
+ GError **error_r) const override;
virtual bool Visit(const struct db_selection *selection,
VisitDirectory visit_directory,
VisitSong visit_song,
VisitPlaylist visit_playlist,
- GError **error_r) override;
+ GError **error_r) const override;
protected:
bool Configure(const struct config_param *param, GError **error_r);