forked from boostorg/container
Use directly boost::movelib::to_raw_pointer/iterator_to_raw_pointer
This commit is contained in:
1 parent
a7e2bed8f1
commit
1d727753e2
15 files changed
+152
-177
No files matched your search
@@ -23,7 +23,7 @@
|
||||
#include <boost/container/detail/workaround.hpp>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/container/detail/placement_new.hpp>
|
||||
#include <boost/container/detail/to_raw_pointer.hpp>
|
||||
#include <boost/move/detail/to_raw_pointer.hpp>
|
||||
#include <boost/container/allocator_traits.hpp>
|
||||
#include <boost/container/detail/mpl.hpp>
|
||||
|
||||
@@ -123,7 +123,7 @@ class node_handle
|
||||
|
||||
void destroy_deallocate_node()
|
||||
{
|
||||
nator_traits::destroy(this->node_alloc(), container_detail::to_raw_pointer(m_ptr));
|
||||
nator_traits::destroy(this->node_alloc(), boost::movelib::to_raw_pointer(m_ptr));
|
||||
nator_traits::deallocate(this->node_alloc(), m_ptr, 1u);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user