Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57556 - trunk/boost/unordered/detail
From: daniel_james_at_[hidden]
Date: 2009-11-10 15:07:50


Author: danieljames
Date: 2009-11-10 15:07:50 EST (Tue, 10 Nov 2009)
New Revision: 57556
URL: http://svn.boost.org/trac/boost/changeset/57556

Log:
Fix a warning that only shows up in release builds.
Text files modified:
   trunk/boost/unordered/detail/fwd.hpp | 8 --------
   1 files changed, 0 insertions(+), 8 deletions(-)

Modified: trunk/boost/unordered/detail/fwd.hpp
==============================================================================
--- trunk/boost/unordered/detail/fwd.hpp (original)
+++ trunk/boost/unordered/detail/fwd.hpp 2009-11-10 15:07:50 EST (Tue, 10 Nov 2009)
@@ -12,7 +12,6 @@
 #define BOOST_UNORDERED_DETAIL_FWD_HPP_INCLUDED
 
 #include <boost/config.hpp>
-#include <boost/assert.hpp>
 #include <boost/iterator.hpp>
 #include <boost/compressed_pair.hpp>
 #include <boost/type_traits/aligned_storage.hpp>
@@ -106,13 +105,6 @@
         node_ptr next_;
 
         hash_bucket() : next_() {}
-
- // Only copy construct when allocating.
- hash_bucket(hash_bucket const& x)
- : next_()
- {
- BOOST_ASSERT(!x.next_);
- }
     };
 
     template <class A>


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