mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10: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
|
@ -2141,7 +2141,7 @@ bool TableVal::Contains(const IPAddr& addr) const {
|
|||
return false;
|
||||
}
|
||||
|
||||
return (subnets->Lookup(addr, 128, false) != 0);
|
||||
return (subnets->Lookup(addr, 128, false) != nullptr);
|
||||
}
|
||||
|
||||
VectorValPtr TableVal::LookupSubnets(const SubNetVal* search) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue