summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-06-12 19:58:42 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-06-12 19:58:42 (GMT)
commit4075e1ca6ccd01183c9bb582a2291c5abc70a828 (patch)
treeb62dd41469e20b4bb7d777b3f40a0761968ff9d1
parente21bcdc6c657ac223d95c0ae92eb398e1659763d (diff)
parent4f170e25752c995d8c51391cea60d86b549ea150 (diff)
downloadCMake-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.in2
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] =
{