mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
restored RecordType::Create, now marked as deprecated
tidying of namespaces and private class members simplification of flagging record field initializations that should be skipped address peculiar MSVC compilation complaint for IntrusivePtr's
This commit is contained in:
parent
ee358affda
commit
c19eba62d6
5 changed files with 67 additions and 32 deletions
|
@ -2778,6 +2778,14 @@ RecordVal::RecordVal(RecordTypePtr t, bool init_fields) : Val(t), is_managed(t->
|
|||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
// The following is just for testing the deprecated Create()
|
||||
// call, and can be removed with 6.1. We leave it commented
|
||||
// out so we don't get deprecation warnings when building.
|
||||
#if 0
|
||||
std::vector<std::optional<ZVal>> testing;
|
||||
rt->Create(testing);
|
||||
#endif
|
||||
}
|
||||
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue