Commit 06133ae0 authored by neverlord's avatar neverlord

bugfix

parent 6717141d
...@@ -22,7 +22,6 @@ class producer_consumer_list ...@@ -22,7 +22,6 @@ class producer_consumer_list
{ {
value_ptr value; value_ptr value;
std::atomic<node*> next; std::atomic<node*> next;
~node() { delete value; }
node(value_ptr val) : value(val), next(nullptr) { } node(value_ptr val) : value(val), next(nullptr) { }
char pad[CPPA_CACHE_LINE_SIZE - sizeof(value_ptr)- sizeof(std::atomic<node*>)]; char pad[CPPA_CACHE_LINE_SIZE - sizeof(value_ptr)- sizeof(std::atomic<node*>)];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment