iosource/threading/input/logging: Replace nulls with nullptr

This commit is contained in:
Tim Wojtulewicz 2020-04-01 16:52:03 -07:00
parent 4ee84b69f2
commit cb01e098df
27 changed files with 154 additions and 156 deletions

View file

@ -15,8 +15,8 @@ PcapDumper::PcapDumper(const std::string& path, bool arg_append)
{
append = arg_append;
props.path = path;
dumper = 0;
pd = 0;
dumper = nullptr;
pd = nullptr;
}
PcapDumper::~PcapDumper()
@ -93,8 +93,8 @@ void PcapDumper::Close()
pcap_dump_close(dumper);
pcap_close(pd);
dumper = 0;
pd = 0;
dumper = nullptr;
pd = nullptr;
Closed();
}

View file

@ -33,7 +33,7 @@ protected:
private:
void OpenLive();
void OpenOffline();
void PcapError(const char* where = 0);
void PcapError(const char* where = nullptr);
Properties props;
Stats stats;