From 05056a7d5f96369f8f91e841c8f3923a7175991c Mon Sep 17 00:00:00 2001 From: Bill Hoffman <bill.hoffman@kitware.com> Date: Thu, 29 Apr 2010 08:51:39 -0400 Subject: [PATCH] Make get_stl_prime_list an inline function to avoid duplicate copies of it. --- hashtable.hxx.in | 2 +- kwsysDateStamp.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hashtable.hxx.in b/hashtable.hxx.in index 2b80f4b..2f337ba 100644 --- a/hashtable.hxx.in +++ b/hashtable.hxx.in @@ -390,7 +390,7 @@ enum { _stl_num_primes = 31 }; // create a function with a static local to that function that returns // the static -const unsigned long* get_stl_prime_list() { +inline const unsigned long* get_stl_prime_list() { static const unsigned long _stl_prime_list[_stl_num_primes] = { diff --git a/kwsysDateStamp.cmake b/kwsysDateStamp.cmake index d56f817..32d4eef 100644 --- a/kwsysDateStamp.cmake +++ b/kwsysDateStamp.cmake @@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2010) SET(KWSYS_DATE_STAMP_MONTH 04) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 28) +SET(KWSYS_DATE_STAMP_DAY 29) -- GitLab