Skip to content

Commit 9a8ae70

Browse files
committed
Default constructor for CScriptWitness so clang doesn't complain.
1 parent d33b80c commit 9a8ae70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/script/script.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,9 @@ struct CScriptWitness
624624
{
625625
std::vector<std::vector<unsigned char> > stack;
626626

627+
// Some compilers complain without a default constructor
628+
CScriptWitness() { }
629+
627630
bool IsNull() const { return stack.empty(); }
628631
};
629632

0 commit comments

Comments
 (0)