diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2021-01-17 21:59:46 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2021-01-19 21:44:22 +0100 |
commit | 2abd6593c8b047d3fd579aa6cc0058bbebe266f8 (patch) | |
tree | 44af7148f648538846ef64bed0f8560f77de7e5d /include/erebos/network.h | |
parent | 1466751256580d8b0e6eea46a8028dcab9742f6b (diff) |
Server watching local state head
Diffstat (limited to 'include/erebos/network.h')
-rw-r--r-- | include/erebos/network.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h index a2f989e..8f3debe 100644 --- a/include/erebos/network.h +++ b/include/erebos/network.h @@ -1,7 +1,7 @@ #pragma once -#include <erebos/identity.h> #include <erebos/service.h> +#include <erebos/state.h> #include <functional> #include <typeinfo> @@ -11,7 +11,7 @@ namespace erebos { class Server { public: - Server(const Identity &, std::vector<std::unique_ptr<Service>> &&); + Server(const Head<LocalState> &, std::vector<std::unique_ptr<Service>> &&); ~Server(); template<class S> S & svc(); |