|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53253 - trunk/boost/unordered
From: daniel_james_at_[hidden]
Date: 2009-05-25 15:14:08
Author: danieljames
Date: 2009-05-25 15:14:07 EDT (Mon, 25 May 2009)
New Revision: 53253
URL: http://svn.boost.org/trac/boost/changeset/53253
Log:
Add explicit destructors to the unordered containers. Refs #2908.
Isn't really needed but it doesn't hurt.
Text files modified:
trunk/boost/unordered/unordered_map.hpp | 4 ++++
trunk/boost/unordered/unordered_set.hpp | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/unordered/unordered_map.hpp
==============================================================================
--- trunk/boost/unordered/unordered_map.hpp (original)
+++ trunk/boost/unordered/unordered_map.hpp 2009-05-25 15:14:07 EDT (Mon, 25 May 2009)
@@ -108,6 +108,8 @@
{
}
+ ~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 @@
{
}
+ ~unordered_multimap() {}
+
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_multimap(unordered_multimap&& other)
: base(other.base, boost::unordered_detail::move_tag())
Modified: trunk/boost/unordered/unordered_set.hpp
==============================================================================
--- trunk/boost/unordered/unordered_set.hpp (original)
+++ trunk/boost/unordered/unordered_set.hpp 2009-05-25 15:14:07 EDT (Mon, 25 May 2009)
@@ -105,6 +105,8 @@
: base(f, l, n, hf, eql, a)
{
}
+
+ ~unordered_set() {}
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_set(unordered_set&& other)
@@ -528,6 +530,8 @@
{
}
+ ~unordered_multiset() {}
+
#if defined(BOOST_HAS_RVALUE_REFS)
unordered_multiset(unordered_multiset&& other)
: base(other.base, boost::unordered_detail::move_tag())
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk