mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Mark single-argument constructors "explicit"
This commit is contained in:
@@ -24,7 +24,7 @@ private:
|
||||
const CChainParams& m_params;
|
||||
|
||||
public:
|
||||
DestinationEncoder(const CChainParams& params) : m_params(params) {}
|
||||
explicit DestinationEncoder(const CChainParams& params) : m_params(params) {}
|
||||
|
||||
std::string operator()(const CKeyID& id) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user