diff options
Diffstat (limited to 'boost/lockfree/queue.hpp')
-rw-r--r-- | boost/lockfree/queue.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/lockfree/queue.hpp b/boost/lockfree/queue.hpp index 808bebd6c5..c8970bbce2 100644 --- a/boost/lockfree/queue.hpp +++ b/boost/lockfree/queue.hpp @@ -117,7 +117,7 @@ private: typedef typename detail::select_tagged_handle<node, node_based>::handle_type handle_type; node(T const & v, handle_type null_handle): - data(v)//, next(tagged_node_handle(0, 0)) + next(tagged_node_handle(null_handle, 0)), data(v) { /* increment tag to avoid ABA problem */ tagged_node_handle old_next = next.load(memory_order_relaxed); |