From c68df817a68efbf9732ec9662f33bb0a30bce4f1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 2 Feb 2025 11:33:42 +0000 Subject: [PATCH] [open-type] Minor tweak to cmp() Remove codepath that was never taken. --- src/hb-open-type.hh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 6655259b7..529412fb6 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -86,15 +86,6 @@ struct IntType return pb->cmp (*pa); } - template ::value && - sizeof (Type2) < sizeof (int) && - sizeof (Type) < sizeof (int))> - int cmp (Type2 a) const - { - Type b = v; - return (int) a - (int) b; - } template int cmp (Type2 a) const