From: khizmax Date: Sat, 30 Apr 2016 19:00:12 +0000 (+0300) Subject: issue #57: fixed double construct/destruct of queue pool items X-Git-Tag: v2.2.0~260 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7b8997d1e9ca2efbe0748457c40b076f5c2de13;p=libcds.git issue #57: fixed double construct/destruct of queue pool items --- 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