From 877def4f243e1ef5eb39a6132f3969844e00be95 Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 11 Jun 2020 10:08:29 +1000 Subject: Backport: Use noexcept where safe and maintainable. Backport of changeset 8300:266c8247814e. --- src/UniConversion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/UniConversion.h') diff --git a/src/UniConversion.h b/src/UniConversion.h index 0c7adff10..871f2c7b0 100644 --- a/src/UniConversion.h +++ b/src/UniConversion.h @@ -15,7 +15,7 @@ constexpr int UTF8MaxBytes = 4; constexpr int unicodeReplacementChar = 0xFFFD; size_t UTF8Length(const wchar_t *uptr, size_t tlen) noexcept; -void UTF8FromUTF16(const wchar_t *uptr, size_t tlen, char *putf, size_t len); +void UTF8FromUTF16(const wchar_t *uptr, size_t tlen, char *putf, size_t len) noexcept; void UTF8FromUTF32Character(int uch, char *putf) noexcept; size_t UTF16Length(const char *s, size_t len) noexcept; size_t UTF16FromUTF8(const char *s, size_t len, wchar_t *tbuf, size_t tlen); -- cgit v1.2.3