Switch OpaqueVal::SerializeType() to IntrusivePtr

This commit is contained in:
Jon Siwek 2020-05-18 16:10:10 -07:00
parent 377c8a4762
commit 5742810293
3 changed files with 5 additions and 5 deletions

View file

@ -148,7 +148,7 @@ protected:
* Helper function for derived class that need to record a type
* during serialization.
*/
static broker::expected<broker::data> SerializeType(BroType* t);
static broker::expected<broker::data> SerializeType(const IntrusivePtr<BroType>& t);
/**
* Helper function for derived class that need to restore a type