mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Fix clang-tidy modernize-use-nullptr findings
This commit is contained in:
parent
a3078f3132
commit
ee319fc1c5
45 changed files with 200 additions and 201 deletions
|
@ -182,6 +182,6 @@ ScopePtr pop_scope() {
|
|||
|
||||
ScopePtr current_scope() { return top_scope; }
|
||||
|
||||
ScopePtr global_scope() { return scopes.empty() ? 0 : scopes.front(); }
|
||||
ScopePtr global_scope() { return scopes.empty() ? nullptr : scopes.front(); }
|
||||
|
||||
} // namespace zeek::detail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue