Fix clang-tidy modernize-use-default-member-init warnings in headers

This commit is contained in:
Tim Wojtulewicz 2025-06-10 09:32:23 -07:00
parent a05b4abdf7
commit fb55c8856e
49 changed files with 134 additions and 185 deletions

View file

@ -145,7 +145,7 @@ protected:
*/
class EncapsulationStack {
public:
EncapsulationStack() : conns(nullptr) {}
EncapsulationStack() = default;
EncapsulationStack(const EncapsulationStack& other) {
if ( other.conns )
@ -241,7 +241,7 @@ public:
void Pop();
protected:
std::vector<EncapsulatingConn>* conns;
std::vector<EncapsulatingConn>* conns = nullptr;
};
} // namespace zeek