[Cmake-commits] CMake branch, master, updated. 54319451a550acd92ac48259d5d84c2a91f09666

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Apr 29 09:00:23 EDT 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  54319451a550acd92ac48259d5d84c2a91f09666 (commit)
      from  7b7bf9344ccb197aa6a4a8146d16301611646d83 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=54319451a550acd92ac48259d5d84c2a91f09666
commit 54319451a550acd92ac48259d5d84c2a91f09666
Author: Bill Hoffman <bill.hoffman at kitware.com>
Date:   Thu Apr 29 08:51:39 2010 -0400

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

diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in
index 2b80f4b..2f337ba 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] =
 {

-----------------------------------------------------------------------

Summary of changes:
 Source/kwsys/hashtable.hxx.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list