mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Change Scope::GenerateTemporary() to return IntrusivePtr
This commit is contained in:
parent
a13899c95e
commit
46e23b49fb
5 changed files with 24 additions and 22 deletions
|
@ -53,7 +53,7 @@ public:
|
|||
size_t Length() const { return local.size(); }
|
||||
const auto& Vars() { return local; }
|
||||
|
||||
ID* GenerateTemporary(const char* name);
|
||||
IntrusivePtr<ID> GenerateTemporary(const char* name);
|
||||
|
||||
// Returns the list of variables needing initialization, and
|
||||
// removes it from this Scope.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue