Commit 6396e23a authored by Max Kellermann's avatar Max Kellermann

DatabaseGlue: make GetDatabase() "gcc_const"

This variable is initialized once on startup. It will never change.
parent 529b4bd1
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment