diff options
author | Max Kellermann <max@duempel.org> | 2016-04-12 21:24:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-04-21 14:23:55 +0200 |
commit | 6513ff92a7012819db464adad094b69e8b585127 (patch) | |
tree | 1f4657391f9505f145abdbcca05bbb5d7c331d9d /src/fs/Charset.hxx | |
parent | a0eb6d0976e5b5136769341f3bb3a03d096be46c (diff) |
fs/Charset: throw exception on error
Diffstat (limited to 'src/fs/Charset.hxx')
-rw-r--r-- | src/fs/Charset.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/Charset.hxx b/src/fs/Charset.hxx index b7497ca32..f0d6e15e6 100644 --- a/src/fs/Charset.hxx +++ b/src/fs/Charset.hxx @@ -48,7 +48,8 @@ DeinitFSCharset(); /** * Convert the path to UTF-8. - * Returns empty string on error. + * + * Throws std::runtime_error on error. */ gcc_pure gcc_nonnull_all PathTraitsUTF8::string @@ -56,7 +57,8 @@ PathToUTF8(PathTraitsFS::const_pointer_type path_fs); /** * Convert the path from UTF-8. - * Returns empty string on error. + * + * Throws std::runtime_error on error. */ gcc_pure gcc_nonnull_all PathTraitsFS::string |