Commit c72835f7 authored by Dominik Charousset's avatar Dominik Charousset

Remove silly indirection in actor registry

parent 29d5e43d
...@@ -275,10 +275,10 @@ void actor_registry::start() { ...@@ -275,10 +275,10 @@ void actor_registry::start() {
// use the lazy_init flag // use the lazy_init flag
//named_entries_.emplace(atom("SpawnServ"), system_.spawn_announce_actor_type_server()); //named_entries_.emplace(atom("SpawnServ"), system_.spawn_announce_actor_type_server());
auto cs = system_.spawn<hidden+lazy_init>(kvstore); auto cs = system_.spawn<hidden+lazy_init>(kvstore);
system_.registry().put(atom("ConfigServ"), cs); put(atom("ConfigServ"), cs);
named_entries_.emplace(atom("ConfigServ"), std::move(cs)); named_entries_.emplace(atom("ConfigServ"), std::move(cs));
auto ss = system_.spawn<hidden+lazy_init>(spawn_serv); auto ss = system_.spawn<hidden+lazy_init>(spawn_serv);
system_.registry().put(atom("SpawnServ"), ss); put(atom("SpawnServ"), ss);
named_entries_.emplace(atom("SpawnServ"), std::move(ss)); named_entries_.emplace(atom("SpawnServ"), std::move(ss));
} }
......
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