Fix lf_queue destructor

This commit is contained in:
RipleyTom 2019-03-13 12:52:02 +01:00 committed by Ivan
parent 3b01e59cd4
commit 980c3d6fe8

View File

@ -1,4 +1,4 @@
#pragma once
#pragma once
#include "types.h"
#include "Atomic.h"
@ -358,7 +358,7 @@ public:
~lf_queue()
{
delete reinterpret_cast<T*>(m_head.load());
delete reinterpret_cast<lf_queue_item<T>*>(m_head.load());
}
template <typename... Args>