Skip to content

Commit 88884ee

Browse files
author
MarcoFalke
committed
script: Disallow silent bool -> CScript conversion
1 parent 4d26312 commit 88884ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/script.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ class CScript : public CScriptBase
433433
return ret;
434434
}
435435

436-
CScript(int64_t b) { operator<<(b); }
436+
explicit CScript(int64_t b) { operator<<(b); }
437437

438438
explicit CScript(opcodetype b) { operator<<(b); }
439439
explicit CScript(const CScriptNum& b) { operator<<(b); }

0 commit comments

Comments
 (0)