OSDN Git Service

2010-03-02 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / include / profile / bitset
index 3a988b5..fb47566 100644 (file)
@@ -363,10 +363,7 @@ namespace __profile
     {
       size_t
       operator()(const std::__profile::bitset<_Nb>& __b) const
-      {
-       const size_t __size = (_Nb + __CHAR_BIT__ - 1) / __CHAR_BIT__;
-       return std::_Fnv_hash::hash(__b._M_base()._M_getdata(), __size);
-      }
+      { return std::hash<_GLIBCXX_STD_D::bitset<_Nb>>()(__b._M_base()); }
     };
 #endif