Commit 61f3cd3f authored by Marian Triebe's avatar Marian Triebe

Fix distributed calculator example

parent 1b744245
...@@ -85,7 +85,7 @@ void client_bhvr(event_based_actor* self, const string& host, ...@@ -85,7 +85,7 @@ void client_bhvr(event_based_actor* self, const string& host,
return none; return none;
}; };
self->become ( self->become (
on(pred, arg_match) >> [=](atom_value op, int lhs, int rhs) { on(pred, val<int>, val<int>) >> [=](atom_value op, int lhs, int rhs) {
self->sync_send_tuple(server, self->last_dequeued()).then( self->sync_send_tuple(server, self->last_dequeued()).then(
on(atom("result"), arg_match) >> [=](int result) { on(atom("result"), arg_match) >> [=](int result) {
aout(self) << lhs << " " aout(self) << lhs << " "
......
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