Commit 1a7f4f75 authored by Dominik Charousset's avatar Dominik Charousset

adapt actor_companion_mixin to memory interface

this patch uses the new memory interface for recursive_queue_node
parent 22226951
......@@ -93,7 +93,7 @@ class actor_companion_mixin : public Base {
friend class actor_companion_mixin;
typedef util::shared_spinlock lock_type;
typedef std::unique_ptr<detail::recursive_queue_node> node_ptr;
typedef std::unique_ptr<detail::recursive_queue_node,detail::disposer> node_ptr;
public:
......@@ -151,7 +151,7 @@ class actor_companion_mixin : public Base {
template<typename... Args>
node_ptr new_node_ptr(Args&&... args) {
return node_ptr(new detail::recursive_queue_node(std::forward<Args>(args)...));
return node_ptr(detail::memory::create<detail::recursive_queue_node>(std::forward<Args>(args)...));
}
void throw_no_become() {
......
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