summaryrefslogtreecommitdiff
path: root/src/network.cpp
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2021-04-24 21:20:25 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2021-04-24 21:20:25 +0200
commita511d2d1ef5fa07dde601961fe9394b474aad5ae (patch)
tree9dd7321cba6303583d044cae95ea622e96b55d45 /src/network.cpp
parent9aaba1211c95dc7e08437a7cca73452181e296d6 (diff)
Behavior lens for shared refs from local state
Diffstat (limited to 'src/network.cpp')
-rw-r--r--src/network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 259ae5e..8ee61b3 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -24,6 +24,8 @@ using namespace erebos;
Server::Server(const Head<LocalState> & head, vector<unique_ptr<Service>> && svcs):
p(new Priv(head, *head->identity(), std::move(svcs)))
{
+ for (const auto & s : p->services)
+ s->serverStarted(*this);
}
Server:: Server(const std::shared_ptr<Priv> & ptr):