From 29030b54c98b0aee65fbc10ebf7ba36bed98c02c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 10 Aug 2013 18:02:44 +0200 Subject: util/Error: new error passing library Replaces GLib's GError. --- src/DatabaseSimple.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/DatabaseSimple.hxx') diff --git a/src/DatabaseSimple.hxx b/src/DatabaseSimple.hxx index c387a64f9..f0223bce2 100644 --- a/src/DatabaseSimple.hxx +++ b/src/DatabaseSimple.hxx @@ -21,7 +21,6 @@ #define MPD_DATABASE_SIMPLE_HXX #include "gcc.h" -#include "gerror.h" #include @@ -29,6 +28,7 @@ struct config_param; struct Directory; struct db_selection; struct db_visitor; +class Error; /** * Check whether the default #SimpleDatabasePlugin is used. This @@ -60,7 +60,7 @@ db_get_directory(const char *name); * May only be used if db_is_simple() returns true. */ bool -db_save(GError **error_r); +db_save(Error &error); /** * May only be used if db_is_simple() returns true. -- cgit v1.2.3