diff options
-rw-r--r-- | src/hb-open-type.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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 <typename Type, unsigned int Size> 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<Type,Size> &o) const { return (Type) v == (Type) o.v; } |