mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 19:48:20 +00:00
iosource/threading/input/logging: Replace nulls with nullptr
This commit is contained in:
parent
4ee84b69f2
commit
cb01e098df
27 changed files with 154 additions and 156 deletions
|
@ -82,14 +82,14 @@ public:
|
|||
*/
|
||||
config_map config;
|
||||
|
||||
WriterInfo() : path(0), rotation_interval(0.0), rotation_base(0.0),
|
||||
WriterInfo() : path(nullptr), rotation_interval(0.0), rotation_base(0.0),
|
||||
network_time(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
WriterInfo(const WriterInfo& other)
|
||||
{
|
||||
path = other.path ? copy_string(other.path) : 0;
|
||||
path = other.path ? copy_string(other.path) : nullptr;
|
||||
rotation_interval = other.rotation_interval;
|
||||
rotation_base = other.rotation_base;
|
||||
network_time = other.network_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue