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  89f420abdefd387ec600e958f4aef15295b9daa4 (commit)
      from  8e6352f8dbeedff1f529a800173b19d52ff69b6b (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=89f420abdefd387ec600e958f4aef15295b9daa4
commit 89f420abdefd387ec600e958f4aef15295b9daa4
Author:     Brad King <[email protected]>
AuthorDate: Thu Sep 1 08:20:43 2011 -0400
Commit:     Brad King <[email protected]>
CommitDate: Thu Sep 1 08:22:03 2011 -0400

    KWSys: Fix std::string hash function for Borland
    
    Borland ignores "const" qualifiers in template specializations.

diff --git a/Source/kwsys/hash_fun.hxx.in b/Source/kwsys/hash_fun.hxx.in
index 2a1305e..8c5eb6a 100644
--- a/Source/kwsys/hash_fun.hxx.in
+++ b/Source/kwsys/hash_fun.hxx.in
@@ -71,10 +71,12 @@ struct hash<const char*> {
   size_t operator()(const @KWSYS_NAMESPACE@_stl::string & __s) const { return 
_stl_hash_string(__s.c_str()); }
 };
 
+#if !defined(__BORLANDC__)
 @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION
   struct hash<const @KWSYS_NAMESPACE@_stl::string> {
   size_t operator()(const @KWSYS_NAMESPACE@_stl::string & __s) const { return 
_stl_hash_string(__s.c_str()); }
 };
+#endif
 
 @KWSYS_NAMESPACE@_CXX_DEFINE_SPECIALIZATION
 struct hash<char> {

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

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


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
[email protected]
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits

Reply via email to