src/hb-private.hh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
New commits: commit 1dc32ea4d2f294f9d1ae1c8fd19fb75f9278223b Author: Behdad Esfahbod <beh...@behdad.org> Date: Fri Nov 20 13:24:19 2015 -0800 Whitespace diff --git a/src/hb-private.hh b/src/hb-private.hh index 76cf737..67e697a 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -902,16 +902,16 @@ hb_in_ranges (T u, T lo1, T hi1, T lo2, T hi2, T lo3, T hi3) # pragma warning(disable:4200) # pragma warning(disable:4800) #endif -# define HB_MARK_AS_FLAG_T(T) \ -extern "C++" { \ -static inline T operator | (T l, T r) { return T ((unsigned) l | (unsigned) r); } \ -static inline T operator & (T l, T r) { return T ((unsigned) l & (unsigned) r); } \ -static inline T operator ^ (T l, T r) { return T ((unsigned) l ^ (unsigned) r); } \ -static inline T operator ~ (T r) { return T (~(unsigned int) r); } \ -static inline T& operator |= (T &l, T r) { l = l | r; return l; } \ -static inline T& operator &= (T& l, T r) { l = l & r; return l; } \ -static inline T& operator ^= (T& l, T r) { l = l ^ r; return l; } \ -} +#define HB_MARK_AS_FLAG_T(T) \ + extern "C++" { \ + static inline T operator | (T l, T r) { return T ((unsigned) l | (unsigned) r); } \ + static inline T operator & (T l, T r) { return T ((unsigned) l & (unsigned) r); } \ + static inline T operator ^ (T l, T r) { return T ((unsigned) l ^ (unsigned) r); } \ + static inline T operator ~ (T r) { return T (~(unsigned int) r); } \ + static inline T& operator |= (T &l, T r) { l = l | r; return l; } \ + static inline T& operator &= (T& l, T r) { l = l & r; return l; } \ + static inline T& operator ^= (T& l, T r) { l = l ^ r; return l; } \ + } /* Useful for set-operations on small enums. _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz