Ouch! Fix build on C++<11
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Dec 2018 06:53:03 +0000 (01:53 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 30 Dec 2018 06:53:03 +0000 (01:53 -0500)
src/hb.hh

index a608528..7d49909 100644 (file)
--- a/src/hb.hh
+++ b/src/hb.hh
@@ -399,7 +399,7 @@ static_assert ((sizeof (hb_var_int_t) == 4), "");
 #else /* __cpluspplus >= 201103L */
 
 #define HB_NO_COPY_ASSIGN(TypeName) static_assert (true, "")
-#define HB_NO_COPY_ASSIGN_TEMPLATE(TypeName, T1, T2) static_assert (true, "")
+#define HB_NO_COPY_ASSIGN_TEMPLATE(TypeName, T) static_assert (true, "")
 #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, "")