diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2011-11-09 08:23:30 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2011-11-09 08:23:30 +0000 |
commit | 6c235090477f18ee7167a046bdf8102447217249 (patch) | |
tree | 6305ae43573291f68d8ff0044ad56023845011ec | |
parent | bd0424fa93a378febead635136ad219f9d34b2b7 (diff) | |
download | gcc-6c235090477f18ee7167a046bdf8102447217249.zip gcc-6c235090477f18ee7167a046bdf8102447217249.tar.gz gcc-6c235090477f18ee7167a046bdf8102447217249.tar.bz2 |
unordered_map: Add missing copy constructors.
* include/profile/unordered_map: Add missing copy constructors.
* include/profile/unordered_set: Likewise.
From-SVN: r181196
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/profile/unordered_map | 13 | ||||
-rw-r--r-- | libstdc++-v3/include/profile/unordered_set | 13 |
3 files changed, 31 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4d4608e..f18d7ee 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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 diff --git a/libstdc++-v3/include/profile/unordered_map b/libstdc++-v3/include/profile/unordered_map index 5722771..5d57df5 100644 --- a/libstdc++-v3/include/profile/unordered_map +++ b/libstdc++-v3/include/profile/unordered_map @@ -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) { diff --git a/libstdc++-v3/include/profile/unordered_set b/libstdc++-v3/include/profile/unordered_set index cb3a0e1..4af778b 100644 --- a/libstdc++-v3/include/profile/unordered_set +++ b/libstdc++-v3/include/profile/unordered_set @@ -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) { |