mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 00:41:09 +01:00
Enforce requiring null_size even if min_size is 0
This concludes null-size enforcement changes
This commit is contained in:
1 parent
4d4fd64ff4
commit
e866910579
1 file changed
+1
-1
+1
-1
@@ -50,7 +50,7 @@ template <typename T, typename B>
|
||||
struct _hb_null_size
|
||||
{ enum { value = sizeof (T) }; };
|
||||
template <typename T>
|
||||
struct _hb_null_size<T, _hb_bool_type<(bool) (int) T::min_size> >
|
||||
struct _hb_null_size<T, _hb_bool_type<(bool) (1 + (unsigned int) T::min_size)> >
|
||||
{ enum { value = T::null_size }; };
|
||||
|
||||
template <typename T>
|
||||
|
||||
Reference in new issue
Block a user