]> gcc.gnu.org Git - gcc.git/commitdiff
re PR libstdc++/45060 (Wreorder warning in bits/hashtable.h)
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 25 Jul 2010 16:44:38 +0000 (16:44 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 25 Jul 2010 16:44:38 +0000 (17:44 +0100)
2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/45060
* include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
Reorder mem-initializers.

From-SVN: r162515

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

index a5e61f78664457bffda594dddc1e432d5c2664e9..64fc3e6b2c4e28a8fdc396e817077d50a2077ed3 100644 (file)
@@ -1,3 +1,9 @@
+2010-07-25  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       PR libstdc++/45060
+       * include/bits/hashtable.h (_Hashtable::_Hashtable(_Hashtable&&)):
+       Reorder mem-initializers.
+
 2010-07-22  Benjamin Kosnik  <bkoz@redhat.com>
 
        DocBook 4.5 to 5.0 transition.
index c7aceb19f8e7c3342552ccbfd8c80a58d1a92b8f..cbc67ba20014d10d36afd8a1ef8d05956deba418 100644 (file)
@@ -651,10 +651,10 @@ namespace std
                                _H1, _H2, _Hash, __chc>(__ht),
       __detail::_Map_base<_Key, _Value, _ExtractKey, __uk, _Hashtable>(__ht),
       _M_node_allocator(__ht._M_node_allocator),
+      _M_buckets(__ht._M_buckets),
       _M_bucket_count(__ht._M_bucket_count),
       _M_element_count(__ht._M_element_count),
-      _M_rehash_policy(__ht._M_rehash_policy),
-      _M_buckets(__ht._M_buckets)
+      _M_rehash_policy(__ht._M_rehash_policy)
     {
       size_type __n_bkt = __ht._M_rehash_policy._M_next_bkt(0);
       __ht._M_buckets = __ht._M_allocate_buckets(__n_bkt);
This page took 0.073777 seconds and 5 git commands to generate.