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
|
@ -97,7 +97,7 @@ public:
|
|||
|
||||
uint32_t GetUniqueFuncID() const { return unique_id; }
|
||||
static Func* GetFuncPtrByID(uint32_t id)
|
||||
{ return id >= unique_ids.size() ? 0 : unique_ids[id]; }
|
||||
{ return id >= unique_ids.size() ? nullptr : unique_ids[id]; }
|
||||
|
||||
protected:
|
||||
Func();
|
||||
|
@ -205,7 +205,7 @@ public:
|
|||
void Describe(ODesc* d) const override;
|
||||
|
||||
protected:
|
||||
BuiltinFunc() { func = 0; is_pure = 0; }
|
||||
BuiltinFunc() { func = nullptr; is_pure = 0; }
|
||||
|
||||
built_in_func func;
|
||||
bool is_pure;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue