From 6bfcc3964b3a14105683c723a61d354cefc95b0e Mon Sep 17 00:00:00 2001 From: jimi-wzq <wangzhengquan85@gmail.com> Date: 星期二, 28 七月 2020 20:39:18 +0800 Subject: [PATCH] erase waring array_lock_free_queue --- src/queue/include/shm_queue.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/queue/include/shm_queue.h b/src/queue/include/shm_queue.h index e64f15a..d633ed9 100644 --- a/src/queue/include/shm_queue.h +++ b/src/queue/include/shm_queue.h @@ -68,8 +68,8 @@ } } if (!found) { - // mqueue = (LockFreeQueue<ELEM_T, SHM_Allocator> *)hashtable_get(hashtable, *keyItr); - // delete mqueue; + mqueue = (LockFreeQueue<ELEM_T, SHM_Allocator> *)hashtable_get(hashtable, *keyItr); + delete mqueue; hashtable_remove(hashtable, *keyItr); } } -- Gitblit v1.8.0