mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Base: Clean up explicit uses of namespaces in places where they're not necessary.
This commit covers all of the common and base classes.
This commit is contained in:
parent
9f802b2a4d
commit
fe0c22c789
240 changed files with 6823 additions and 6787 deletions
|
@ -9,16 +9,16 @@ namespace zeek::detail {
|
|||
|
||||
TraversalCode traverse_all(TraversalCallback* cb)
|
||||
{
|
||||
if ( ! zeek::detail::global_scope() )
|
||||
if ( ! global_scope() )
|
||||
return TC_CONTINUE;
|
||||
|
||||
if ( ! stmts )
|
||||
// May be null when parsing fails.
|
||||
return TC_CONTINUE;
|
||||
|
||||
cb->current_scope = zeek::detail::global_scope();
|
||||
cb->current_scope = global_scope();
|
||||
|
||||
TraversalCode tc = zeek::detail::global_scope()->Traverse(cb);
|
||||
TraversalCode tc = global_scope()->Traverse(cb);
|
||||
|
||||
HANDLE_TC_STMT_PRE(tc);
|
||||
tc = stmts->Traverse(cb);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue