diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-11-08 13:08:40 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-11-08 13:08:40 -0500 |
commit | fc1be5edbad6285f44769dfcfaf57734da12d44f (patch) | |
tree | 9e6ae8fc73ce284ee77b49d2c100b2017bef47bd | |
parent | 9fae611740f514e5fc101a18c4551a20b4a47b59 (diff) |
[DONTMERGE] Add constructors to IntTypeinttype-constructors
Testing to see which bots fail.
-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; } |