Commit ee6c6268 authored by rkfg's avatar rkfg

Fix caf::io::remote_actor free function

parent 60e58f5d
...@@ -39,9 +39,7 @@ namespace io { ...@@ -39,9 +39,7 @@ namespace io {
template <class ActorHandle = actor> template <class ActorHandle = actor>
expected<ActorHandle> remote_actor(actor_system& sys, std::string host, expected<ActorHandle> remote_actor(actor_system& sys, std::string host,
uint16_t port) { uint16_t port) {
detail::type_list<ActorHandle> tk; return sys.middleman().remote_actor<ActorHandle>(std::move(host), port);
return sys.middleman().remote_actor(sys, sys.message_types(tk),
std::move(host), port);
} }
} // namespace io } // namespace io
......
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