aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-04-18 14:41:32 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-04-18 17:08:50 -0700
commit952d8213a6d44b8eeff42f3a52defcaa1bc4a0dc (patch)
tree8924f4dec013063c8de6da909ae1cb78f5a34bc0 /src/script
parent07825088f9cfd8abece774b9d978c36ab90ce3d1 (diff)
Make CScript -> CScriptID conversion explicit
Diffstat (limited to 'src/script')
-rw-r--r--src/script/standard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index 3b2838a5bb..4922b7236b 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -23,7 +23,7 @@ class CScriptID : public uint160
{
public:
CScriptID() : uint160() {}
- CScriptID(const CScript& in);
+ explicit CScriptID(const CScript& in);
CScriptID(const uint160& in) : uint160(in) {}
};