diff options
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 { |