From 3566aa7d495bb783bbd135726238d9f2a9e9f80e Mon Sep 17 00:00:00 2001 From: dergoegge Date: Tue, 14 Mar 2023 17:25:26 +0100 Subject: [net] Remove CNode friends Both `CConnman` and `ConnmanTestMsg` no longer access private members of `CNode`, we can therefore remove the friend relationship. --- src/net.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/net.h') diff --git a/src/net.h b/src/net.h index 67cae64ef6..7bb164003e 100644 --- a/src/net.h +++ b/src/net.h @@ -347,9 +347,6 @@ struct CNodeOptions /** Information about a peer */ class CNode { - friend class CConnman; - friend struct ConnmanTestMsg; - public: const std::unique_ptr m_deserializer; // Used only by SocketHandler thread const std::unique_ptr m_serializer; -- cgit v1.2.3