diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-07-29 18:43:28 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-08-07 17:18:17 -0700 |
commit | 01e283068b9e6214f2d77a2f772a4244ebfe2274 (patch) | |
tree | 0181b0ba189aa52ba3f28bcfbe3b47eb888f65a3 /src | |
parent | bc5d65b3ca41eebb1738fdda4451d1466e77772e (diff) |
[net] Remove unnecessary default args on CNode constructor
Diffstat (limited to 'src')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -917,7 +917,7 @@ public: std::set<uint256> orphan_work_set; - CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string &addrNameIn = "", ConnectionType conn_type_in = ConnectionType::OUTBOUND); + CNode(NodeId id, ServiceFlags nLocalServicesIn, int nMyStartingHeightIn, SOCKET hSocketIn, const CAddress &addrIn, uint64_t nKeyedNetGroupIn, uint64_t nLocalHostNonceIn, const CAddress &addrBindIn, const std::string &addrNameIn, ConnectionType conn_type_in); ~CNode(); CNode(const CNode&) = delete; CNode& operator=(const CNode&) = delete; |