summaryrefslogtreecommitdiff
path: root/boost/lockfree/stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/lockfree/stack.hpp')
-rw-r--r--boost/lockfree/stack.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/lockfree/stack.hpp b/boost/lockfree/stack.hpp
index 23488b1ad0..65f46b710d 100644
--- a/boost/lockfree/stack.hpp
+++ b/boost/lockfree/stack.hpp
@@ -578,7 +578,7 @@ public:
if (!old_tos_pointer)
return 0;
- tagged_node_handle new_tos(typename pool_t::index_t(NULL), old_tos.get_next_tag());
+ tagged_node_handle new_tos(pool.null_handle(), old_tos.get_next_tag());
if (tos.compare_exchange_weak(old_tos, new_tos))
break;
@@ -618,7 +618,7 @@ public:
if (!old_tos_pointer)
return 0;
- tagged_node_handle new_tos(typename pool_t::index_t(NULL), old_tos.get_next_tag());
+ tagged_node_handle new_tos(pool.null_handle(), old_tos.get_next_tag());
if (tos.compare_exchange_weak(old_tos, new_tos))
break;