mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-27 19:37:26 +02:00
[net] Remove CNode friends
Both `CConnman` and `ConnmanTestMsg` no longer access private members of `CNode`, we can therefore remove the friend relationship.
This commit is contained in:
@@ -347,9 +347,6 @@ struct CNodeOptions
|
||||
/** Information about a peer */
|
||||
class CNode
|
||||
{
|
||||
friend class CConnman;
|
||||
friend struct ConnmanTestMsg;
|
||||
|
||||
public:
|
||||
const std::unique_ptr<TransportDeserializer> m_deserializer; // Used only by SocketHandler thread
|
||||
const std::unique_ptr<const TransportSerializer> m_serializer;
|
||||
|
Reference in New Issue
Block a user