[icu] Remove support for versions older than 49

It just doesn't make sense anymore, c9e5da8ded (r41018112)
This commit is contained in:
Ebrahim Byagowi 2020-07-30 02:01:43 +04:30 committed by GitHub
parent 0b74aaece7
commit d1f1301490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,11 +242,9 @@ static struct hb_icu_unicode_funcs_lazy_loader_t : hb_unicode_funcs_lazy_loader_
static hb_unicode_funcs_t *create ()
{
void *user_data = nullptr;
#if U_ICU_VERSION_MAJOR_NUM >= 49
UErrorCode icu_err = U_ZERO_ERROR;
user_data = (void *) unorm2_getNFCInstance (&icu_err);
assert (user_data);
#endif
hb_unicode_funcs_t *funcs = hb_unicode_funcs_create (nullptr);