Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50029 - trunk/boost/unordered/detail
From: daniel_james_at_[hidden]
Date: 2008-11-29 16:47:56


Author: danieljames
Date: 2008-11-29 16:47:55 EST (Sat, 29 Nov 2008)
New Revision: 50029
URL: http://svn.boost.org/trac/boost/changeset/50029

Log:
Workaround another in-place destruction.
Text files modified:
   trunk/boost/unordered/detail/hash_table_impl.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/unordered/detail/hash_table_impl.hpp
==============================================================================
--- trunk/boost/unordered/detail/hash_table_impl.hpp (original)
+++ trunk/boost/unordered/detail/hash_table_impl.hpp 2008-11-29 16:47:55 EST (Sat, 29 Nov 2008)
@@ -172,7 +172,7 @@
                 {
                     if (node_) {
                         if (value_constructed_) {
- node_->value().~value_type();
+ boost::unordered_detail::destroy(&node_->value());
                         }
 
                         if (node_constructed_)


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