From 415f3f4320c80d47e03fe9594a917fb2964b1144 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 31 Dec 2018 13:37:13 -0500 Subject: [PATCH] Add operator= to IntType, commented out https://github.com/harfbuzz/harfbuzz/pull/1510 --- src/hb-open-type.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index a47eb745..7dea171d 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -59,6 +59,7 @@ struct IntType typedef Type type; typedef typename hb_signedness_int (hb_is_signed (Type)) wide_type; + //TODO(C++11)IntType& operator = (wide_type v) { set (v); return *this; } void set (wide_type i) { v.set (i); } operator wide_type () const { return v; } bool operator == (const IntType &o) const { return (Type) v == (Type) o.v; } -- GitLab