Style: Replaces uses of 0/NULL by nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
This commit is contained in:
@ -44,9 +44,9 @@ struct PrintHandlerList {
|
||||
PrintHandlerList *next;
|
||||
|
||||
PrintHandlerList() {
|
||||
printfunc = 0;
|
||||
next = 0;
|
||||
userdata = 0;
|
||||
printfunc = nullptr;
|
||||
next = nullptr;
|
||||
userdata = nullptr;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user