From fc1be5edbad6285f44769dfcfaf57734da12d44f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 8 Nov 2018 13:08:40 -0500 Subject: [DONTMERGE] Add constructors to IntType Testing to see which bots fail. --- src/hb-open-type.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index 6d6dd7b2..2692180d 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -57,6 +57,8 @@ template struct IntType { typedef Type type; + inline IntType (void) { set (0); } + inline explicit IntType (Type i) { set (i); } inline void set (Type i) { v.set (i); } inline operator Type(void) const { return v; } inline bool operator == (const IntType &o) const { return (Type) v == (Type) o.v; } -- cgit v1.2.3