From 980c3d6fe879c55b9a6ee53befc6fe5332d7f29e Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Wed, 13 Mar 2019 12:52:02 +0100 Subject: [PATCH] Fix lf_queue destructor --- Utilities/lockless.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/lockless.h b/Utilities/lockless.h index 0f8d17f23b..90f20475ea 100644 --- a/Utilities/lockless.h +++ b/Utilities/lockless.h @@ -1,4 +1,4 @@ -#pragma once +#pragma once #include "types.h" #include "Atomic.h" @@ -358,7 +358,7 @@ public: ~lf_queue() { - delete reinterpret_cast(m_head.load()); + delete reinterpret_cast*>(m_head.load()); } template