From 035b818e34bbd2d5c1f65328c9847c845d74d919 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 7 May 2019 17:21:18 -0700 Subject: [PATCH] [meta] Fix addressof() --- src/hb-meta.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-meta.hh b/src/hb-meta.hh index 132e644..6eb1315 100644 --- a/src/hb-meta.hh +++ b/src/hb-meta.hh @@ -71,7 +71,7 @@ template using hb_type_identity = typename hb_match_identity::ty struct { template - T* operator () (const T& arg) const + T* operator () (T& arg) const { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-align" -- 2.7.4