From 8d41e9658fc57eabc8978a9100bdaa8c7a9c5aa9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 26 Oct 2016 18:52:00 +0200 Subject: Instance: remove Error parameter from GetDatabase() --- src/client/Client.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/Client.cxx') 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 & -- cgit v1.2.3