lib/icu/Converter: add noexcept
This commit is contained in:
parent
0b22cc962d
commit
1a6ec716ef
@ -38,7 +38,7 @@
|
||||
|
||||
#ifdef HAVE_ICU
|
||||
|
||||
IcuConverter::~IcuConverter()
|
||||
IcuConverter::~IcuConverter() noexcept
|
||||
{
|
||||
ucnv_close(converter);
|
||||
}
|
||||
|
@ -65,9 +65,9 @@ class IcuConverter {
|
||||
|
||||
public:
|
||||
#ifdef HAVE_ICU
|
||||
~IcuConverter();
|
||||
~IcuConverter() noexcept;
|
||||
#elif defined(HAVE_ICONV)
|
||||
~IcuConverter() {
|
||||
~IcuConverter() noexcept {
|
||||
iconv_close(to_utf8);
|
||||
iconv_close(from_utf8);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user