OSDN Git Service

* include/profile/unordered_map: Add missing copy constructors.
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 08:23:30 +0000 (08:23 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 9 Nov 2011 08:23:30 +0000 (08:23 +0000)
* include/profile/unordered_set: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181196 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 4d4608e..f18d7ee 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 5722771..5d57df5 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 cb3a0e1..4af778b 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)
       {