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:
Daniel James
2009-05-25 19:14:07 +00:00
parent 20c9360528
commit cfc134b871
2 changed files with 8 additions and 0 deletions

View File

@ -108,6 +108,8 @@ namespace boost
{
}
~unordered_map() {}
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_map(unordered_map&& other)
: base(other.base, boost::unordered_detail::move_tag())
@ -558,6 +560,8 @@ namespace boost
{
}
~unordered_multimap() {}
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_multimap(unordered_multimap&& other)
: base(other.base, boost::unordered_detail::move_tag())

View File

@ -105,6 +105,8 @@ namespace boost
: base(f, l, n, hf, eql, a)
{
}
~unordered_set() {}
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_set(unordered_set&& other)
@ -528,6 +530,8 @@ namespace boost
{
}
~unordered_multiset() {}
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_multiset(unordered_multiset&& other)
: base(other.base, boost::unordered_detail::move_tag())