Merge topic 'KWSys-hashtable-old-gcc'
4f170e2
KWSys: Fix hashtable prime list on g++ 2.9 (#13273)
This commit is contained in:
commit
4075e1ca6c
|
@ -394,7 +394,7 @@ enum { _stl_num_primes = 31 };
|
|||
|
||||
// create a function with a static local to that function that returns
|
||||
// the static
|
||||
inline const unsigned long* get_stl_prime_list() {
|
||||
static inline const unsigned long* get_stl_prime_list() {
|
||||
|
||||
static const unsigned long _stl_prime_list[_stl_num_primes] =
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue