hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt, [...]): Fix typos in the last...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 24 Jul 2011 19:47:04 +0000 (19:47 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 24 Jul 2011 19:47:04 +0000 (19:47 +0000)
2011-07-24  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt,
_M_bkt_for_elements, _M_need_rehash): Fix typos in the last commit.

From-SVN: r176718

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h

index 30b954e4a38b491dc8f9097113211aacfce7ad4f..91301815bad7dc58fab9a27e3444bbd384b7363a 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-24  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt,
+       _M_bkt_for_elements, _M_need_rehash): Fix typos in the last commit.
+
 2011-07-24  François Dumont  <francois.cppdevs@free.fr>
 
        * include/bits/hashtable_policy.h (_Prime_rehash_policy): Use
index df17855e9501a75a080b1daa353409e17203c77d..ab34463475bb6dba1636be432a656300e737b593 100644 (file)
@@ -431,7 +431,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
                                                + _S_n_primes, __n);
     _M_next_resize =
       static_cast<std::size_t>(__builtin_floor(__p * _M_max_load_factor));
-    return *__p;
+    return __p;
   }
 
   // Return the smallest prime p such that alpha p >= n, where alpha
@@ -445,7 +445,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
                                                + _S_n_primes, __min_bkts);
     _M_next_resize =
       static_cast<std::size_t>(__builtin_floor(__p * _M_max_load_factor));
-    return *__p;
+    return __p;
   }
 
   // Finds the smallest prime p such that alpha p > __n_elt + __n_ins.
@@ -474,7 +474,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
                                __min_bkts);
            _M_next_resize = static_cast<std::size_t>
              (__builtin_floor(__p * _M_max_load_factor));
-           return std::make_pair(true, *__p);
+           return std::make_pair(true, __p);
          }
        else
          {