mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Fix build: some don't like IntrusivePtr default arg w/ incomplete type
This commit is contained in:
parent
052104d5d2
commit
8a3cd4c65b
2 changed files with 5 additions and 1 deletions
|
@ -298,6 +298,9 @@ IntrusivePtr<RecordVal> IPv6_Hdr::ToVal(IntrusivePtr<VectorVal> chain) const
|
|||
return rv;
|
||||
}
|
||||
|
||||
IntrusivePtr<RecordVal> IPv6_Hdr::ToVal() const
|
||||
{ return ToVal(nullptr); }
|
||||
|
||||
RecordVal* IPv6_Hdr::BuildRecordVal(VectorVal* chain) const
|
||||
{
|
||||
return ToVal({AdoptRef{}, chain}).release();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue