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:
Tim Wojtulewicz 2020-08-21 09:29:37 -07:00
parent 9f802b2a4d
commit fe0c22c789
240 changed files with 6823 additions and 6787 deletions

View file

@ -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);