forked from boostorg/unordered
Fix a warning that only shows up in release builds.
[SVN r57556]
This commit is contained in:
@@ -12,7 +12,6 @@
|
|||||||
#define BOOST_UNORDERED_DETAIL_FWD_HPP_INCLUDED
|
#define BOOST_UNORDERED_DETAIL_FWD_HPP_INCLUDED
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#include <boost/assert.hpp>
|
|
||||||
#include <boost/iterator.hpp>
|
#include <boost/iterator.hpp>
|
||||||
#include <boost/compressed_pair.hpp>
|
#include <boost/compressed_pair.hpp>
|
||||||
#include <boost/type_traits/aligned_storage.hpp>
|
#include <boost/type_traits/aligned_storage.hpp>
|
||||||
@@ -106,13 +105,6 @@ namespace boost { namespace unordered_detail {
|
|||||||
node_ptr next_;
|
node_ptr next_;
|
||||||
|
|
||||||
hash_bucket() : next_() {}
|
hash_bucket() : next_() {}
|
||||||
|
|
||||||
// Only copy construct when allocating.
|
|
||||||
hash_bucket(hash_bucket const& x)
|
|
||||||
: next_()
|
|
||||||
{
|
|
||||||
BOOST_ASSERT(!x.next_);
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class A>
|
template <class A>
|
||||||
|
Reference in New Issue
Block a user