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/CommandLine.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/CommandLine.hxx') diff --git a/src/CommandLine.hxx b/src/CommandLine.hxx index 7a8731f82..214150eae 100644 --- a/src/CommandLine.hxx +++ b/src/CommandLine.hxx @@ -22,6 +22,8 @@ #include +class Error; + struct options { gboolean kill; gboolean daemon; @@ -31,6 +33,6 @@ struct options { bool parse_cmdline(int argc, char **argv, struct options *options, - GError **error_r); + Error &error); #endif -- cgit v1.2.3