diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2020-01-14 22:37:16 -0800 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2020-06-19 12:14:06 -0700 |
commit | 0a5ea32ce605984094c5552877cb99bc81654f2c (patch) | |
tree | cb53980bce46fe9253638771e786be287122ceb4 /src/script/standard.h | |
parent | f3d776b59380ad31e8b3a2948364c7690eebe05d (diff) |
Prefer explicit uint160 conversion
Diffstat (limited to 'src/script/standard.h')
-rw-r--r-- | src/script/standard.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/script/standard.h b/src/script/standard.h index 2929425670..c1a9fc90bd 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -78,7 +78,6 @@ struct PKHash : public uint160 PKHash() : uint160() {} explicit PKHash(const uint160& hash) : uint160(hash) {} explicit PKHash(const CPubKey& pubkey); - using uint160::uint160; }; struct WitnessV0KeyHash; @@ -91,7 +90,6 @@ struct ScriptHash : public uint160 explicit ScriptHash(const PKHash& hash) = delete; explicit ScriptHash(const uint160& hash) : uint160(hash) {} explicit ScriptHash(const CScript& script); - using uint160::uint160; }; struct WitnessV0ScriptHash : public uint256 @@ -99,14 +97,12 @@ struct WitnessV0ScriptHash : public uint256 WitnessV0ScriptHash() : uint256() {} explicit WitnessV0ScriptHash(const uint256& hash) : uint256(hash) {} explicit WitnessV0ScriptHash(const CScript& script); - using uint256::uint256; }; struct WitnessV0KeyHash : public uint160 { WitnessV0KeyHash() : uint160() {} explicit WitnessV0KeyHash(const uint160& hash) : uint160(hash) {} - using uint160::uint160; }; //! CTxDestination subtype to encode any future Witness version |