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:
Johanna Amann 2020-04-09 08:47:44 -07:00
commit a3a38f0849
187 changed files with 1119 additions and 1117 deletions

View file

@ -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