diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-09-16 18:09:36 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-09-16 18:09:36 +0200 |
commit | 4e62627831e7457ed60ff87712570065b14b200a (patch) | |
tree | 6196de642c1a9dfeb28489d52576c40542a8932e /src/hb-uniscribe.cc | |
parent | f1a86e1e6f3906f33fc89de694a4bbbc3e40d2bc (diff) |
Enforce single-param static_assert() only
So we don't accidentally break it again.
Diffstat (limited to 'src/hb-uniscribe.cc')
-rw-r--r-- | src/hb-uniscribe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc index b77baa2f..1b00d8e8 100644 --- a/src/hb-uniscribe.cc +++ b/src/hb-uniscribe.cc @@ -327,7 +327,7 @@ _hb_generate_unique_face_name (wchar_t *face_name, unsigned int *plen) const char *enc = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-"; UUID id; UuidCreate ((UUID*) &id); - static_assert ((2 + 3 * (16/2) < LF_FACESIZE), ""); + static_assert ((2 + 3 * (16/2) < LF_FACESIZE)); unsigned int name_str_len = 0; face_name[name_str_len++] = 'F'; face_name[name_str_len++] = '_'; |