Add RecordVal ctor that takes IntrusivePtr

This commit is contained in:
Jon Siwek 2020-05-11 17:30:51 -07:00
parent 40ee59f0c3
commit 4351a26710
2 changed files with 12 additions and 5 deletions

View file

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