queue/include/array_lock_free_queue.h
@@ -94,7 +94,7 @@ ,m_count(0) // #endif { m_theQueue = (ELEM_T*)Allocator::malloc(Q_SIZE * sizeof(ELEM_T)); m_theQueue = (ELEM_T*)Allocator::allocate(Q_SIZE * sizeof(ELEM_T)); } @@ -102,7 +102,7 @@ ArrayLockFreeQueue<ELEM_T, Allocator>::~ArrayLockFreeQueue() { // std::cout << "destroy ArrayLockFreeQueue\n"; Allocator::free(m_theQueue); Allocator::deallocate(m_theQueue); }