Instance: remove Error parameter from GetDatabase()

This commit is contained in:
Max Kellermann
2016-10-26 18:52:00 +02:00
parent 086652dd50
commit 8d41e9658f
8 changed files with 11 additions and 18 deletions

View File

@@ -109,7 +109,9 @@ struct Instance final
* if this MPD configuration has no database (no
* music_directory was configured).
*/
Database *GetDatabase(Error &error);
Database *GetDatabase() {
return database;
}
/**
* Returns the global #Database instance. Throws