aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/SimpleDatabasePlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/SimpleDatabasePlugin.cxx')
-rw-r--r--src/db/SimpleDatabasePlugin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/SimpleDatabasePlugin.cxx b/src/db/SimpleDatabasePlugin.cxx
index 8398eedc7..4247c89b1 100644
--- a/src/db/SimpleDatabasePlugin.cxx
+++ b/src/db/SimpleDatabasePlugin.cxx
@@ -208,7 +208,7 @@ SimpleDatabase::Close()
}
struct song *
-SimpleDatabase::GetSong(const char *uri, GError **error_r)
+SimpleDatabase::GetSong(const char *uri, GError **error_r) const
{
assert(root != NULL);
@@ -241,7 +241,7 @@ SimpleDatabase::Visit(const struct db_selection *selection,
VisitDirectory visit_directory,
VisitSong visit_song,
VisitPlaylist visit_playlist,
- GError **error_r)
+ GError **error_r) const
{
const struct directory *directory = LookupDirectory(selection->uri);
if (directory == NULL) {