Fix build: some don't like IntrusivePtr default arg w/ incomplete type

This commit is contained in:
Jon Siwek 2020-05-22 00:09:14 -07:00
parent 052104d5d2
commit 8a3cd4c65b
2 changed files with 5 additions and 1 deletions

View file

@ -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();