0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05: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:
dergoegge 2023-03-14 17:25:26 +01:00
parent 3eac5e7cd1
commit 3566aa7d49

View file

@ -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;