summaryrefslogtreecommitdiff
path: root/src/client/Client.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-26 18:52:00 +0200
committerMax Kellermann <max@musicpd.org>2016-10-26 18:52:00 +0200
commit8d41e9658fc57eabc8978a9100bdaa8c7a9c5aa9 (patch)
treebfa0e3625f8ef043f49ffcb3c46ea7205c16cb54 /src/client/Client.cxx
parent086652dd505285695418f46d83d18a82679ace37 (diff)
Instance: remove Error parameter from GetDatabase()
Diffstat (limited to 'src/client/Client.cxx')
-rw-r--r--src/client/Client.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Client.cxx b/src/client/Client.cxx
index d9e12fcfa..110f15c72 100644
--- a/src/client/Client.cxx
+++ b/src/client/Client.cxx
@@ -28,9 +28,9 @@ const Domain client_domain("client");
#ifdef ENABLE_DATABASE
const Database *
-Client::GetDatabase(Error &error) const
+Client::GetDatabase() const
{
- return partition.instance.GetDatabase(error);
+ return partition.instance.GetDatabase();
}
const Database &