mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +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
|
@ -77,19 +77,7 @@ void File::StaticInit() {
|
|||
}
|
||||
|
||||
File::File(const std::string& file_id, const std::string& source_name, Connection* conn, zeek::Tag tag, bool is_orig)
|
||||
: id(file_id),
|
||||
val(nullptr),
|
||||
file_reassembler(nullptr),
|
||||
stream_offset(0),
|
||||
reassembly_max_buffer(0),
|
||||
did_metadata_inference(false),
|
||||
reassembly_enabled(false),
|
||||
postpone_timeout(false),
|
||||
done(false),
|
||||
seen_bytes(0),
|
||||
missing_bytes(0),
|
||||
overflow_bytes(0),
|
||||
analyzers(this) {
|
||||
: id(file_id), val(nullptr), analyzers(this) {
|
||||
StaticInit();
|
||||
|
||||
DBG_LOG(DBG_FILE_ANALYSIS, "[%s] Creating new File object", file_id.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue