diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-09-01 18:44:07 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2022-09-01 20:53:57 +1000 |
commit | d394156b99d6b9a99aedee78658310d169ca188d (patch) | |
tree | fb8a475398d43d7153754decf4895aaf79aa634d /src/net.h | |
parent | 9dccc3328eeaf9cd66518d812c878def5d014e36 (diff) |
net: make CNode::m_permissionFlags const
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -336,6 +336,7 @@ public: struct CNodeOptions { + NetPermissionFlags permission_flags = NetPermissionFlags::None; std::unique_ptr<i2p::sam::Session> i2p_sam_session = nullptr; }; @@ -349,7 +350,7 @@ public: const std::unique_ptr<TransportDeserializer> m_deserializer; // Used only by SocketHandler thread const std::unique_ptr<const TransportSerializer> m_serializer; - NetPermissionFlags m_permissionFlags{NetPermissionFlags::None}; // treated as const outside of fuzz tester + const NetPermissionFlags m_permissionFlags; /** * Socket used for communication with the node. |