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/InputInit.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/InputInit.hxx') diff --git a/src/InputInit.hxx b/src/InputInit.hxx index 9d503e5a8..9aa2de41a 100644 --- a/src/InputInit.hxx +++ b/src/InputInit.hxx @@ -20,7 +20,7 @@ #ifndef MPD_INPUT_INIT_HXX #define MPD_INPUT_INIT_HXX -#include "gerror.h" +class Error; /** * Initializes this library and all input_stream implementations. @@ -29,7 +29,7 @@ * ignore errors */ bool -input_stream_global_init(GError **error_r); +input_stream_global_init(Error &error); /** * Deinitializes this library and all input_stream implementations. -- cgit v1.2.3