tidy: modernize-use-equals-default

This commit is contained in:
MarcoFalke
2024-07-08 11:11:58 +02:00
parent bd5d1688b4
commit 3333bae9b2
53 changed files with 72 additions and 76 deletions

View File

@@ -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