From 42914e822751c3ac91949622fa2dd4897e461bc0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 20 Sep 2017 23:23:05 +0200 Subject: [PATCH] lib/icu/CaseFold: add "noexcept" --- src/lib/icu/CaseFold.cxx | 2 +- src/lib/icu/CaseFold.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/icu/CaseFold.cxx b/src/lib/icu/CaseFold.cxx index ed4552d1c..d34b1737b 100644 --- a/src/lib/icu/CaseFold.cxx +++ b/src/lib/icu/CaseFold.cxx @@ -45,7 +45,7 @@ #include AllocatedString<> -IcuCaseFold(const char *src) +IcuCaseFold(const char *src) noexcept try { #ifdef HAVE_ICU #if !CLANG_CHECK_VERSION(3,6) diff --git a/src/lib/icu/CaseFold.hxx b/src/lib/icu/CaseFold.hxx index 7d13a6e2a..bb5d5e76e 100644 --- a/src/lib/icu/CaseFold.hxx +++ b/src/lib/icu/CaseFold.hxx @@ -27,6 +27,6 @@ template class AllocatedString; gcc_nonnull_all AllocatedString -IcuCaseFold(const char *src); +IcuCaseFold(const char *src) noexcept; #endif