diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-14 10:15:48 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-14 13:45:01 +0200 |
commit | 1a8167867b136ae62463b26a871628526bff17b8 (patch) | |
tree | be6ca573229dc092d567079c5b464f72144d895d /scene/gui | |
parent | 5f5f53e8eba5c9b708714de58d3cca6ceb010279 (diff) |
Modernize remaining uses of 0/NULL instead of nullptr (C++11)
Using clang-tidy's `modernize-use-nullptr`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
Diffstat (limited to 'scene/gui')
-rw-r--r-- | scene/gui/tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/tree.h b/scene/gui/tree.h index 87c2588a12..3c67a79558 100644 --- a/scene/gui/tree.h +++ b/scene/gui/tree.h @@ -544,7 +544,7 @@ public: void clear(); - TreeItem *create_item(TreeItem *p_parent = 0, int p_idx = -1); + TreeItem *create_item(TreeItem *p_parent = nullptr, int p_idx = -1); TreeItem *get_root(); TreeItem *get_last_item(); |