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

@ -48,8 +48,8 @@ public:
// statements are executed immediately and the object is deleted
// right away.
Trigger(WhenInfo* wi, double timeout, const IDSet& globals, std::vector<ValPtr> local_aggrs,
Frame* f, const Location* loc);
Trigger(std::shared_ptr<WhenInfo> wi, double timeout, const IDSet& globals,
std::vector<ValPtr> local_aggrs, Frame* f, const Location* loc);
~Trigger() override;