Skip to content

Commit 3566aa7

Browse files
committed
[net] Remove CNode friends
Both `CConnman` and `ConnmanTestMsg` no longer access private members of `CNode`, we can therefore remove the friend relationship.
1 parent 3eac5e7 commit 3566aa7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/net.h

-3
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,6 @@ struct CNodeOptions
347347
/** Information about a peer */
348348
class CNode
349349
{
350-
friend class CConnman;
351-
friend struct ConnmanTestMsg;
352-
353350
public:
354351
const std::unique_ptr<TransportDeserializer> m_deserializer; // Used only by SocketHandler thread
355352
const std::unique_ptr<const TransportSerializer> m_serializer;

0 commit comments

Comments
 (0)