mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
parent
4ee84b69f2
commit
cb01e098df
27 changed files with 154 additions and 156 deletions
|
@ -45,12 +45,12 @@ double PktDumper::OpenTime() const
|
|||
|
||||
bool PktDumper::IsError() const
|
||||
{
|
||||
return errmsg.size();
|
||||
return ! errmsg.empty();
|
||||
}
|
||||
|
||||
const char* PktDumper::ErrorMsg() const
|
||||
{
|
||||
return errmsg.size() ? errmsg.c_str() : 0;
|
||||
return errmsg.size() ? errmsg.c_str() : nullptr;
|
||||
}
|
||||
|
||||
int PktDumper::HdrSize() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue