mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
convert scopes to be managed using IntrusivePtr's
This commit is contained in:
parent
f2f041b63b
commit
efd03d41f8
16 changed files with 41 additions and 48 deletions
|
@ -12,7 +12,7 @@
|
|||
#include "zeek/ZeekList.h"
|
||||
#include "zeek/Stmt.h"
|
||||
#include "zeek/Obj.h"
|
||||
#include "zeek/IntrusivePtr.h"
|
||||
#include "zeek/Scope.h"
|
||||
#include "zeek/Type.h" /* for function_flavor */
|
||||
#include "zeek/TraverseTypes.h"
|
||||
#include "zeek/ZeekArgs.h"
|
||||
|
@ -103,7 +103,7 @@ public:
|
|||
size_t new_frame_size, int priority = 0);
|
||||
|
||||
virtual void SetScope(detail::ScopePtr newscope);
|
||||
virtual detail::Scope* GetScope() const { return scope.get(); }
|
||||
virtual detail::ScopePtr GetScope() const { return scope; }
|
||||
|
||||
const FuncTypePtr& GetType() const
|
||||
{ return type; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue