aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/DatabaseGlue.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DatabaseGlue.hxx b/src/DatabaseGlue.hxx
index bc05942e0..725aa302a 100644
--- a/src/DatabaseGlue.hxx
+++ b/src/DatabaseGlue.hxx
@@ -44,7 +44,7 @@ DatabaseGlobalOpen(Error &error);
* Returns the global #Database instance. May return nullptr if this MPD
* configuration has no database (no music_directory was configured).
*/
-gcc_pure
+gcc_const
const Database *
GetDatabase();