Commit a2f2b430 authored by Xavier Thompson's avatar Xavier Thompson

deque.hpp: Explicitly load array for deletion

parent d07dee2b
...@@ -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