Make get_stl_prime_list an inline function to avoid duplicate copies of it.

This commit is contained in:
Bill Hoffman 2010-04-29 08:51:39 -04:00
parent 7b7bf9344c
commit 54319451a5
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ enum { _stl_num_primes = 31 };
// create a function with a static local to that function that returns // create a function with a static local to that function that returns
// the static // 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] = static const unsigned long _stl_prime_list[_stl_num_primes] =
{ {