Commit 35cdcff8 authored by Xavier Thompson's avatar Xavier Thompson

deque.hpp: Explicitly load array for deletion

parent 7902b769
...@@ -39,7 +39,7 @@ namespace typon::fdt::lock_free ...@@ -39,7 +39,7 @@ namespace typon::fdt::lock_free
~deque() ~deque()
{ {
delete _array; delete _array.load(relaxed);
} }
void push(T x) noexcept void push(T x) noexcept
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment