[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Sun Nov 4 01:42:14 UTC 2018


 src/hb.hh |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit ae9ad1076e536aee370f9863cde8351b79f01b3b
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Sat Nov 3 21:41:50 2018 -0400

    Fix "Warning: extra ";" ignored."

diff --git a/src/hb.hh b/src/hb.hh
index fa6a7404..e3faf17c 100644
--- a/src/hb.hh
+++ b/src/hb.hh
@@ -365,10 +365,10 @@ static_assert ((sizeof (hb_var_int_t) == 4), "");
 #else /* __cpluspplus >= 201103L */
 
 #define HB_NO_COPY_ASSIGN(TypeName)
-#define HB_NO_COPY_ASSIGN_TEMPLATE2(TypeName, T1, T2)
-#define HB_NO_CREATE_COPY_ASSIGN(TypeName)
-#define HB_NO_CREATE_COPY_ASSIGN_TEMPLATE(TypeName, T)
-#define HB_NO_CREATE_COPY_ASSIGN_TEMPLATE2(TypeName, T1, T2)
+#define HB_NO_COPY_ASSIGN_TEMPLATE2(TypeName, T1, T2) static_assert (true, "")
+#define HB_NO_CREATE_COPY_ASSIGN(TypeName) static_assert (true, "")
+#define HB_NO_CREATE_COPY_ASSIGN_TEMPLATE(TypeName, T) static_assert (true, "")
+#define HB_NO_CREATE_COPY_ASSIGN_TEMPLATE2(TypeName, T1, T2) static_assert (true, "")
 
 #endif /* __cpluspplus >= 201103L */
 


More information about the HarfBuzz mailing list