From b8f3de693f3c4a93041585f1f5da26eff3cc7117 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 2 Aug 2018 10:17:04 +0200 Subject: [PATCH] lib/icu/Init: add "noexcept" --- src/lib/icu/Init.cxx | 2 +- src/lib/icu/Init.hxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/icu/Init.cxx b/src/lib/icu/Init.cxx index 4296bde42..e7d1853bd 100644 --- a/src/lib/icu/Init.cxx +++ b/src/lib/icu/Init.cxx @@ -37,7 +37,7 @@ IcuInit() } void -IcuFinish() +IcuFinish() noexcept { IcuCollateFinish(); diff --git a/src/lib/icu/Init.hxx b/src/lib/icu/Init.hxx index 63c0b417c..95646e314 100644 --- a/src/lib/icu/Init.hxx +++ b/src/lib/icu/Init.hxx @@ -28,12 +28,12 @@ void IcuInit(); void -IcuFinish(); +IcuFinish() noexcept; #else -static inline void IcuInit() {} -static inline void IcuFinish() {} +static inline void IcuInit() noexcept {} +static inline void IcuFinish() noexcept {} #endif