diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-05-06 08:58:34 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-05-06 08:58:34 +0200 |
commit | 07f61b1ad6363cd471b7dab3f94c3160636fd6a0 (patch) | |
tree | e196fb1623435d1806c37f94068f4ed8bebe3394 /include/erebos | |
parent | ff0930c8d488eed7087fd3224ac34049ad88dbcf (diff) |
Server: do not return reference to self identity
Diffstat (limited to 'include/erebos')
-rw-r--r-- | include/erebos/network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/erebos/network.h b/include/erebos/network.h index 07ae586..b47efee 100644 --- a/include/erebos/network.h +++ b/include/erebos/network.h @@ -24,7 +24,7 @@ public: const Head<LocalState> & localHead() const; const Bhv<LocalState> & localState() const; - const Identity & identity() const; + Identity identity() const; template<class S> S & svc(); class PeerList & peerList() const; |