commit | d25a2f1496d13846ddaea123ac6fb9807dc5669a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sun Dec 23 20:19:52 2018 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Sun Dec 23 20:34:24 2018 -0500 |
tree | 96945f7d90fdab0c29543ec007fb77fab42c3357 | |
parent | 85003b594b3aa1f6638e274bc89f18999a5de9f5 [diff] [blame] |
Fix a few warnings
diff --git a/src/hb.hh b/src/hb.hh index 18f4e5c..d604d95 100644 --- a/src/hb.hh +++ b/src/hb.hh
@@ -468,7 +468,8 @@ 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; } \ - } + } \ + static_assert (true, "") /* Useful for set-operations on small enums. * For example, for testing "x ∈ {x1, x2, x3}" use: