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:
parent
19e800c9d8
commit
38b1d0b9b2
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue