From 54319451a550acd92ac48259d5d84c2a91f09666 Mon Sep 17 00:00:00 2001 From: Bill Hoffman 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. --- Source/kwsys/hashtable.hxx.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index 2b80f4b9a..2f337bad7 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/Source/kwsys/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] = {