diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-03-19 15:24:38 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-03-19 15:24:38 +0000 |
commit | 550f0a4f96a6e9e0ada0d65dfbe4b0e537bf68d3 (patch) | |
tree | b4ccb4661f4af258dd636ce17fa81751b8f842fa /stlport | |
parent | #i10000# avoid problems with --without-stlport combined with --with-x (diff) | |
download | core-550f0a4f96a6e9e0ada0d65dfbe4b0e537bf68d3.tar.gz core-550f0a4f96a6e9e0ada0d65dfbe4b0e537bf68d3.zip |
#i10000# fix for mac-nonpro
Diffstat (limited to 'stlport')
-rw-r--r-- | stlport/systemstl/hash_map | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/stlport/systemstl/hash_map b/stlport/systemstl/hash_map index 5b9201d58427..8c8fd07e95ea 100644 --- a/stlport/systemstl/hash_map +++ b/stlport/systemstl/hash_map @@ -4,9 +4,9 @@ * * $RCSfile: hash_map,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-08 07:48:37 $ + * last change: $Author: vg $ $Date: 2008-03-19 16:24:38 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -56,6 +56,14 @@ namespace __gnu_cxx return __x; } }; + + template<> struct hash< unsigned long long int > + { + size_t operator()(unsigned long long int __x) const + { + return __x; + } + }; } namespace std { |