summaryrefslogtreecommitdiff
path: root/include/erebos/network.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-05-06 08:58:34 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-05-06 08:58:34 +0200
commit07f61b1ad6363cd471b7dab3f94c3160636fd6a0 (patch)
treee196fb1623435d1806c37f94068f4ed8bebe3394 /include/erebos/network.h
parentff0930c8d488eed7087fd3224ac34049ad88dbcf (diff)
Server: do not return reference to self identity
Diffstat (limited to 'include/erebos/network.h')
-rw-r--r--include/erebos/network.h2
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;