Commit 42914e82 authored by Max Kellermann's avatar Max Kellermann

lib/icu/CaseFold: add "noexcept"

parent 59b49b78
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include <string.h> #include <string.h>
AllocatedString<> AllocatedString<>
IcuCaseFold(const char *src) IcuCaseFold(const char *src) noexcept
try { try {
#ifdef HAVE_ICU #ifdef HAVE_ICU
#if !CLANG_CHECK_VERSION(3,6) #if !CLANG_CHECK_VERSION(3,6)
......
...@@ -27,6 +27,6 @@ template<typename T> class AllocatedString; ...@@ -27,6 +27,6 @@ template<typename T> class AllocatedString;
gcc_nonnull_all gcc_nonnull_all
AllocatedString<char> AllocatedString<char>
IcuCaseFold(const char *src); IcuCaseFold(const char *src) noexcept;
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment