mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Add RecordVal ctor that takes IntrusivePtr
This commit is contained in:
parent
40ee59f0c3
commit
4351a26710
2 changed files with 12 additions and 5 deletions
|
@ -931,6 +931,8 @@ protected:
|
|||
class RecordVal final : public Val, public notifier::Modifiable {
|
||||
public:
|
||||
explicit RecordVal(RecordType* t, bool init_fields = true);
|
||||
explicit RecordVal(IntrusivePtr<RecordType> t, bool init_fields = true);
|
||||
|
||||
~RecordVal() override;
|
||||
|
||||
IntrusivePtr<Val> SizeVal() const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue