Kaynağa Gözat

Merge topic 'KWSys-hashtable-old-gcc'

4f170e2 KWSys: Fix hashtable prime list on g++ 2.9 (#13273)
David Cole 13 yıl önce
ebeveyn
işleme
4075e1ca6c
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      Source/kwsys/hashtable.hxx.in

+ 1 - 1
Source/kwsys/hashtable.hxx.in

@@ -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] =
 {