summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-object-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-object-private.h')
-rw-r--r--pango/opentype/hb-object-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/opentype/hb-object-private.h b/pango/opentype/hb-object-private.h
index 4f4c3de8..2186e58e 100644
--- a/pango/opentype/hb-object-private.h
+++ b/pango/opentype/hb-object-private.h
@@ -56,7 +56,7 @@ typedef struct {
/* Helper macros */
#define HB_OBJECT_IS_INERT(obj) \
- (HB_REFERENCE_COUNT_IS_INVALID ((obj)->ref_count))
+ (HB_UNLIKELY (HB_REFERENCE_COUNT_IS_INVALID ((obj)->ref_count)))
#define HB_OBJECT_DO_INIT_EXPR(obj) \
HB_REFERENCE_COUNT_INIT (obj->ref_count, 1)