migrated some raw pointers to smart pointers

This commit is contained in:
Vern Paxson 2023-07-07 18:29:45 -07:00
parent c23ee30542
commit 1b2cd0c767
14 changed files with 74 additions and 113 deletions

View file

@ -437,9 +437,8 @@ public:
// ... and its name.
std::string lambda_name;
// For "when" statements. Needs to be non-const so we can
// Instantiate() it as needed.
WhenInfo* wi;
// For "when" statements.
std::shared_ptr<WhenInfo> wi;
// A parallel array for the cat() built-in replacement.
std::unique_ptr<CatArg>* cat_args = nullptr;