diff options
author | Max Kellermann <max@musicpd.org> | 2016-10-26 18:52:00 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-10-26 18:52:00 +0200 |
commit | 8d41e9658fc57eabc8978a9100bdaa8c7a9c5aa9 (patch) | |
tree | bfa0e3625f8ef043f49ffcb3c46ea7205c16cb54 /src/Instance.hxx | |
parent | 086652dd505285695418f46d83d18a82679ace37 (diff) |
Instance: remove Error parameter from GetDatabase()
Diffstat (limited to 'src/Instance.hxx')
-rw-r--r-- | src/Instance.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index f5cada618..ed220b794 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -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 |