Move static const to post-struct for a function object

Just sending this to bots to see if all happy, then turn it into macro and
apply everywhere.

Part of https://github.com/harfbuzz/harfbuzz/issues/1651
This commit is contained in:
Behdad Esfahbod 2019-04-15 12:44:31 -04:00
parent 19e800c9d8
commit 38b1d0b9b2
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
#include "hb-null.hh"
static const struct
struct
{
/* Don't know how to set priority of following. Doesn't work right now. */
//template <typename T>
@ -54,7 +54,7 @@ static const struct
/* Knuth's multiplicative method: */
return (uint32_t) v * 2654435761u;
}
} hb_hash HB_UNUSED;
} static const hb_hash HB_UNUSED;
static const struct
{