From bd8aa1b043a6fb9e1d5dce735715ae9530d9ff20 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 21 Apr 2020 22:19:46 -0700 Subject: [PATCH] Minor --- src/hb-null.hh | 4 ++-- src/hb-shaper.hh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hb-null.hh b/src/hb-null.hh index 803b0a943..9853939b0 100644 --- a/src/hb-null.hh +++ b/src/hb-null.hh @@ -104,7 +104,7 @@ struct NullHelper } \ }; \ namespace Namespace { \ - static_assert (true, "Just so we take semicolon after.") + static_assert (true, "") /* Require semicolon after. */ #define DEFINE_NULL_NAMESPACE_BYTES(Namespace, Type) \ const unsigned char _hb_Null_##Namespace##_##Type[Namespace::Type::null_size] @@ -117,7 +117,7 @@ struct NullHelper return _hb_Null_##Type; \ } \ }; \ - static_assert (true, "Just so we take semicolon after.") + static_assert (true, "") /* Require semicolon after. */ #define DEFINE_NULL_INSTANCE(Type) \ const Type _hb_Null_##Type diff --git a/src/hb-shaper.hh b/src/hb-shaper.hh index 79dc5d07e..b4138a324 100644 --- a/src/hb-shaper.hh +++ b/src/hb-shaper.hh @@ -102,7 +102,7 @@ template struct hb_shaper_object static void destroy (Type *p) { HB_SHAPER_DATA_DESTROY_FUNC (shaper, object) (p); } \ }; \ \ - static_assert (true, "") /* Require semicolon. */ + static_assert (true, "") /* Require semicolon after. */ template