diff options
author | dergoegge <n.goeggi@gmail.com> | 2023-03-24 15:29:21 +0100 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2023-03-27 16:00:02 +0200 |
commit | 860402ef2ed728ef096dda4e65e77d566782209f (patch) | |
tree | 653460b0270ae67466b5aa9a867f597e75d57679 /src/net.h | |
parent | b5a85b365a4abd98176b0935015dbb502cc3e6f6 (diff) |
[net] Remove trivial GetConnectionType() getter
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -418,10 +418,7 @@ public: std::atomic_bool fPauseRecv{false}; std::atomic_bool fPauseSend{false}; - const ConnectionType& GetConnectionType() const - { - return m_conn_type; - } + const ConnectionType m_conn_type; /** Move all messages from the received queue to the processing queue. */ void MarkReceivedMsgsForProcessing(unsigned int recv_flood_size) @@ -622,7 +619,6 @@ public: private: const NodeId id; const uint64_t nLocalHostNonce; - const ConnectionType m_conn_type; std::atomic<int> m_greatest_common_version{INIT_PROTO_VERSION}; std::list<CNetMessage> vRecvMsg; // Used only by SocketHandler thread |