mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 10:12:28 +02:00
tidy: modernize-use-equals-default
This commit is contained in:
@@ -305,7 +305,7 @@ struct InputStack {
|
||||
//! Data elements.
|
||||
std::vector<std::vector<unsigned char>> stack;
|
||||
//! Construct an empty stack (valid).
|
||||
InputStack() {}
|
||||
InputStack() = default;
|
||||
//! Construct a valid single-element stack (with an element up to 75 bytes).
|
||||
InputStack(std::vector<unsigned char> in) : size(in.size() + 1), stack(Vector(std::move(in))) {}
|
||||
//! Change availability
|
||||
|
||||
Reference in New Issue
Block a user