From 01b68db30e6b4e9e036e0ae1adcdc2a35d102e43 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 12 Apr 2016 22:18:36 +0200 Subject: lib/icu/Converter: Create() throws exception on error --- src/fs/Charset.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/fs/Charset.hxx') diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx index 721a41cd4..b7497ca32 100644 --- a/src/fs/Charset.hxx +++ b/src/fs/Charset.hxx @@ -37,8 +37,11 @@ gcc_const const char * GetFSCharset(); -bool -SetFSCharset(const char *charset, Error &error); +/** + * Throws std::runtime_error on error. + */ +void +SetFSCharset(const char *charset); void DeinitFSCharset(); -- cgit v1.2.3