mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38: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
|
@ -104,15 +104,15 @@ public:
|
|||
|
||||
ReaderInfo()
|
||||
{
|
||||
source = 0;
|
||||
name = 0;
|
||||
source = nullptr;
|
||||
name = nullptr;
|
||||
mode = MODE_NONE;
|
||||
}
|
||||
|
||||
ReaderInfo(const ReaderInfo& other)
|
||||
{
|
||||
source = other.source ? copy_string(other.source) : 0;
|
||||
name = other.name ? copy_string(other.name) : 0;
|
||||
source = other.source ? copy_string(other.source) : nullptr;
|
||||
name = other.name ? copy_string(other.name) : nullptr;
|
||||
mode = other.mode;
|
||||
|
||||
for ( config_map::const_iterator i = other.config.begin(); i != other.config.end(); i++ )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue