mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix clang-tidy modernize-use-default-member-init warnings in headers
This commit is contained in:
parent
a05b4abdf7
commit
fb55c8856e
49 changed files with 134 additions and 185 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue