From b7b8997d1e9ca2efbe0748457c40b076f5c2de13 Mon Sep 17 00:00:00 2001 From: khizmax Date: Sat, 30 Apr 2016 22:00:12 +0300 Subject: [PATCH] issue #57: fixed double construct/destruct of queue pool items --- cds/memory/vyukov_queue_pool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cds/memory/vyukov_queue_pool.h b/cds/memory/vyukov_queue_pool.h index 52360b03..4c578097 100644 --- a/cds/memory/vyukov_queue_pool.h +++ b/cds/memory/vyukov_queue_pool.h @@ -482,7 +482,7 @@ namespace cds { namespace memory { ~bounded_vyukov_queue_pool() { m_Queue.clear(); - std_allocatr().deallocate( m_pFirst, m_Queue.capacity()); + std_allocator().deallocate( m_pFirst, m_Queue.capacity()); } /// Allocates an object from pool -- 2.34.1