]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
unordered_map: Add missing copy constructors.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 9 Nov 2011 08:23:30 +0000 (08:23 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 9 Nov 2011 08:23:30 +0000 (08:23 +0000)
* include/profile/unordered_map: Add missing copy constructors.
* include/profile/unordered_set: Likewise.

From-SVN: r181196

libstdc++-v3/ChangeLog
libstdc++-v3/include/profile/unordered_map
libstdc++-v3/include/profile/unordered_set

index 4d4608e3625174852a029ae36d2fdb7d848f7d2c..f18d7ee511beb6f9b7418012c1d5955e7b3e3956 100644 (file)
@@ -1,3 +1,8 @@
+2011-11-09  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/profile/unordered_map: Add missing copy constructors.
+       * include/profile/unordered_set: Likewise.
+
 2011-11-09  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/51027
index 5722771f425f17a8e1a95baf6346f7e1c3fbec13..5d57df53769da0a59696bd6b41d7e4bc206a2ffd 100644 (file)
@@ -96,6 +96,13 @@ namespace __profile
         __profcxx_hashtable_construct2(this);
       }
 
+      unordered_map(const unordered_map& __x)
+      : _Base(__x) 
+      { 
+        __profcxx_hashtable_construct(this, _Base::bucket_count());
+        __profcxx_hashtable_construct2(this);
+      }
+
       unordered_map(const _Base& __x)
       : _Base(__x) 
       { 
@@ -365,6 +372,12 @@ namespace __profile
         __profcxx_hashtable_construct(this, _Base::bucket_count());
       }
 
+      unordered_multimap(const unordered_multimap& __x)
+      : _Base(__x)
+      {
+        __profcxx_hashtable_construct(this, _Base::bucket_count());
+      }
+
       unordered_multimap(const _Base& __x)
       : _Base(__x)
       {
index cb3a0e17451d7ddf974893c1234fe06987a60d0b..4af778bbf7c3a20cd7fce2a81df3e43315c042b5 100644 (file)
@@ -95,6 +95,13 @@ namespace __profile
         __profcxx_hashtable_construct2(this);
       }
 
+      unordered_set(const unordered_set& __x)
+      : _Base(__x) 
+      { 
+        __profcxx_hashtable_construct(this, _Base::bucket_count());
+        __profcxx_hashtable_construct2(this);
+      }
+
       unordered_set(const _Base& __x)
       : _Base(__x) 
       { 
@@ -339,6 +346,12 @@ namespace __profile
         __profcxx_hashtable_construct(this, _Base::bucket_count());
       }
 
+      unordered_multiset(const unordered_multiset& __x)
+      : _Base(__x)
+      {
+        __profcxx_hashtable_construct(this, _Base::bucket_count());
+      }
+
       unordered_multiset(const _Base& __x)
       : _Base(__x)
       {