mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 23:35:00 +08:00
unordered_map: Add missing copy constructors.
* include/profile/unordered_map: Add missing copy constructors. * include/profile/unordered_set: Likewise. From-SVN: r181196
This commit is contained in:
parent
bd0424fa93
commit
6c23509047
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user