diff options
author | David Cole <david.cole@kitware.com> | 2012-06-12 19:58:42 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2012-06-12 19:58:42 (GMT) |
commit | 4075e1ca6ccd01183c9bb582a2291c5abc70a828 (patch) | |
tree | b62dd41469e20b4bb7d777b3f40a0761968ff9d1 | |
parent | e21bcdc6c657ac223d95c0ae92eb398e1659763d (diff) | |
parent | 4f170e25752c995d8c51391cea60d86b549ea150 (diff) | |
download | CMake-4075e1ca6ccd01183c9bb582a2291c5abc70a828.zip CMake-4075e1ca6ccd01183c9bb582a2291c5abc70a828.tar.gz CMake-4075e1ca6ccd01183c9bb582a2291c5abc70a828.tar.bz2 |
Merge topic 'KWSys-hashtable-old-gcc'
4f170e2 KWSys: Fix hashtable prime list on g++ 2.9 (#13273)
-rw-r--r-- | Source/kwsys/hashtable.hxx.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index db52fc8..c835503 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/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] = { |