mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 03:17:15 +02:00
Add explicit destructors to the unordered containers. Refs #2908.
Isn't really needed but it doesn't hurt. [SVN r53253]
This commit is contained in:
@ -108,6 +108,8 @@ namespace boost
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~unordered_map() {}
|
||||||
|
|
||||||
#if defined(BOOST_HAS_RVALUE_REFS)
|
#if defined(BOOST_HAS_RVALUE_REFS)
|
||||||
unordered_map(unordered_map&& other)
|
unordered_map(unordered_map&& other)
|
||||||
: base(other.base, boost::unordered_detail::move_tag())
|
: base(other.base, boost::unordered_detail::move_tag())
|
||||||
@ -558,6 +560,8 @@ namespace boost
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~unordered_multimap() {}
|
||||||
|
|
||||||
#if defined(BOOST_HAS_RVALUE_REFS)
|
#if defined(BOOST_HAS_RVALUE_REFS)
|
||||||
unordered_multimap(unordered_multimap&& other)
|
unordered_multimap(unordered_multimap&& other)
|
||||||
: base(other.base, boost::unordered_detail::move_tag())
|
: base(other.base, boost::unordered_detail::move_tag())
|
||||||
|
@ -105,6 +105,8 @@ namespace boost
|
|||||||
: base(f, l, n, hf, eql, a)
|
: base(f, l, n, hf, eql, a)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~unordered_set() {}
|
||||||
|
|
||||||
#if defined(BOOST_HAS_RVALUE_REFS)
|
#if defined(BOOST_HAS_RVALUE_REFS)
|
||||||
unordered_set(unordered_set&& other)
|
unordered_set(unordered_set&& other)
|
||||||
@ -528,6 +530,8 @@ namespace boost
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
~unordered_multiset() {}
|
||||||
|
|
||||||
#if defined(BOOST_HAS_RVALUE_REFS)
|
#if defined(BOOST_HAS_RVALUE_REFS)
|
||||||
unordered_multiset(unordered_multiset&& other)
|
unordered_multiset(unordered_multiset&& other)
|
||||||
: base(other.base, boost::unordered_detail::move_tag())
|
: base(other.base, boost::unordered_detail::move_tag())
|
||||||
|
Reference in New Issue
Block a user