projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb0bef9
)
issue #57: fixed double construct/destruct of queue pool items
author
khizmax
<libcds.dev@gmail.com>
Sat, 30 Apr 2016 19:00:12 +0000
(22:00 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sat, 30 Apr 2016 19:00:12 +0000
(22:00 +0300)
cds/memory/vyukov_queue_pool.h
patch
|
blob
|
history
diff --git
a/cds/memory/vyukov_queue_pool.h
b/cds/memory/vyukov_queue_pool.h
index 52360b0382eba346291eda8eb12ed075c66c3bc8..4c5780971ffb1483f619bd4f3fe5f23c8bf7ccb2 100644
(file)
--- 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_allocat
o
r().deallocate( m_pFirst, m_Queue.capacity());
}
/// Allocates an object from pool