diff options
author | Max Kellermann <max@duempel.org> | 2016-04-12 22:18:36 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-04-13 10:04:19 +0200 |
commit | 01b68db30e6b4e9e036e0ae1adcdc2a35d102e43 (patch) | |
tree | d906c65e052c78396ee54c6e8b43954e0ac6de83 /src/fs/Charset.hxx | |
parent | 33fdaa5b6d66a9a296e8ba170098b10f24be523b (diff) |
lib/icu/Converter: Create() throws exception on error
Diffstat (limited to 'src/fs/Charset.hxx')
-rw-r--r-- | src/fs/Charset.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
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(); |