Commit 6c235090 by Jonathan Wakely Committed by Jonathan Wakely

unordered_map: Add missing copy constructors.

	* include/profile/unordered_map: Add missing copy constructors.
	* include/profile/unordered_set: Likewise.

From-SVN: r181196
parent bd0424fa
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment