mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
binpac: Apply clang-tidy's modernize-use-nullptr check
This commit is contained in:
parent
49a96f5216
commit
9f3750d0cc
29 changed files with 183 additions and 181 deletions
|
@ -32,7 +32,7 @@ EnumDecl::EnumDecl(ID* id, EnumList* enumlist) : Decl(id, ENUM), enumlist_(enuml
|
|||
{
|
||||
ID* type_id = id->clone();
|
||||
datatype_ = new ExternType(type_id, ExternType::NUMBER);
|
||||
extern_typedecl_ = new TypeDecl(type_id, 0, datatype_);
|
||||
extern_typedecl_ = new TypeDecl(type_id, nullptr, datatype_);
|
||||
}
|
||||
|
||||
EnumDecl::~EnumDecl()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue