mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Mark single-argument constructors "explicit"
This commit is contained in:
parent
415f2bff69
commit
1ac3c983bf
8 changed files with 9 additions and 9 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue