Fix GitHub Pull #46: "Fix use of propagate_on_container_swap"

This commit is contained in:
Ion Gaztañaga
2017-03-28 13:40:08 +02:00
parent ab6e21494b
commit e919196b8c
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -131,6 +131,9 @@ class node_handle
nallocator_type &node_alloc()
{ return *static_cast<nallocator_type*>(m_nalloc_storage.address()); }
const nallocator_type &node_alloc() const
{ return *static_cast<const nallocator_type*>(m_nalloc_storage.address()); }
node_pointer release()
{
node_pointer p(m_ptr);