From 7bd508a0c4ce426f474bfcc729cb39207dd1f7b4 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 12 Aug 2018 17:19:55 -0700 Subject: [PATCH] [lazy] Rename free() --- src/hb-ft.cc | 4 ++-- src/hb-glib.cc | 2 +- src/hb-icu.cc | 2 +- src/hb-machinery-private.hh | 4 ++-- src/hb-ot-font.cc | 2 +- src/hb-shape.cc | 6 +++--- src/hb-ucdn.cc | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/hb-ft.cc b/src/hb-ft.cc index e716ec9..01341b6 100644 --- a/src/hb-ft.cc +++ b/src/hb-ft.cc @@ -454,7 +454,7 @@ static struct hb_ft_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t { do_destroy (instance.get ()); } - inline void free (void) + inline void free_instance (void) { retry: Stored *p = instance.get (); @@ -720,7 +720,7 @@ struct hb_lazy_loader_t : hb_data_wrapper_t static inline void destroy (Stored *p) { p->fini (); - ::free (p); + free (p); } private: diff --git a/src/hb-ot-font.cc b/src/hb-ot-font.cc index 0b14ff1..9da8fc7 100644 --- a/src/hb-ot-font.cc +++ b/src/hb-ot-font.cc @@ -264,7 +264,7 @@ static struct hb_ot_font_funcs_lazy_loader_t : hb_font_funcs_lazy_loader_t + hb_shaper_list_lazy_loader_t> { static inline const char ** create (void) { @@ -72,7 +72,7 @@ static struct hb_shaper_list_lazy_loader_t : hb_lazy_loader_t