mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Rename BroObj to Obj
This commit is contained in:
parent
736a3f53d4
commit
02cef05f93
36 changed files with 105 additions and 103 deletions
|
@ -122,7 +122,7 @@ static void make_var(const zeek::detail::IDPtr& id, zeek::TypePtr t,
|
|||
{
|
||||
if ( id->IsRedefinable() || (! init && attr && ! zeek::IsFunc(id->GetType()->Tag())) )
|
||||
{
|
||||
zeek::BroObj* redef_obj = init ? (zeek::BroObj*) init.get() : (zeek::BroObj*) t.get();
|
||||
zeek::Obj* redef_obj = init ? (zeek::Obj*) init.get() : (zeek::Obj*) t.get();
|
||||
if ( dt != VAR_REDEF )
|
||||
id->Warn("redefinition requires \"redef\"", redef_obj, true);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue