mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Merge remote-tracking branch 'origin/topic/timw/nullptr'
* origin/topic/timw/nullptr: The remaining nulls plugin/probabilistic/zeekygen: Replace nulls with nullptr file_analysis: Replace nulls with nullptr analyzer: Replace nulls with nullptr iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
commit
a3a38f0849
187 changed files with 1119 additions and 1117 deletions
|
@ -143,7 +143,7 @@ void Frame::Reset(int startIdx)
|
|||
for ( int i = startIdx; i < size; ++i )
|
||||
{
|
||||
UnrefElement(i);
|
||||
frame[i] = 0;
|
||||
frame[i] = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -166,7 +166,7 @@ void Frame::Describe(ODesc* d) const
|
|||
|
||||
for ( int i = 0; i < size; ++i )
|
||||
{
|
||||
d->Add(frame[i] != 0);
|
||||
d->Add(frame[i] != nullptr);
|
||||
d->SP();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue