mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +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
|
@ -29,7 +29,7 @@ class BroType;
|
|||
|
||||
class ODesc {
|
||||
public:
|
||||
explicit ODesc(desc_type t=DESC_READABLE, BroFile* f=0);
|
||||
explicit ODesc(desc_type t=DESC_READABLE, BroFile* f=nullptr);
|
||||
|
||||
~ODesc();
|
||||
|
||||
|
@ -131,7 +131,7 @@ public:
|
|||
byte_vec TakeBytes()
|
||||
{
|
||||
const void* t = base;
|
||||
base = 0;
|
||||
base = nullptr;
|
||||
size = 0;
|
||||
|
||||
// Don't clear offset, as we want to still support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue