From ebd50b3c83a22a0fdba53271275b8619a23739aa Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 16 Sep 2018 17:57:12 +0200 Subject: [PATCH] Fix static_assert --- src/hb-open-type.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index beded06ce..ae7cdfaf6 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -226,13 +226,13 @@ struct FixedVersion * Use: (base+offset) */ -template struct assert_has_min_size { static_assert (Type::min_size > 0); }; +template struct assert_has_min_size { static_assert (Type::min_size > 0, ""); }; template struct assert_has_min_size {}; template struct OffsetTo : Offset { - static_assert (sizeof (assert_has_min_size) || true); + static_assert (sizeof (assert_has_min_size) || true, ""); inline const Type& operator () (const void *base) const {