Commit eb36d19c authored by Dominik Charousset's avatar Dominik Charousset

Adapt to latest CAF API changes

parent bd271b74
......@@ -171,7 +171,7 @@ public:
void enqueue(mailbox_element_ptr ptr, execution_unit* eu) override {
CAF_ASSERT(ptr != nullptr);
CAF_LOG_TRACE(CAF_ARG(*ptr));
enqueue(ptr->sender, ptr->mid, ptr->msg, eu);
enqueue(ptr->sender, ptr->mid, ptr->move_content_to_message(), eu);
}
actor_facade(actor_config actor_cfg,
......
......@@ -224,12 +224,6 @@ void test_opencl(actor_system& sys) {
CAF_ERROR("No OpenCL device found.");
auto dev = *opt;
scoped_actor self{sys};
self->set_default_handler(
[=](local_actor*, const type_erased_tuple* x) -> result<message> {
CAF_ERROR("unexpected message" << x->stringify());
return sec::unexpected_message;
}
);
const ivec expected1{ 56, 62, 68, 74,
152, 174, 196, 218,
248, 286, 324, 362,
......
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