summaryrefslogtreecommitdiffstats
path: root/editor/plugins
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-03-12 09:40:40 -0500
committerThaddeus Crews <repiteo@outlook.com>2024-03-12 10:59:53 -0500
commit3b3e2374c9e5f73de76b353f3607c52b864d1e69 (patch)
tree340733687864525f67dfa0ebd83d435e61891a29 /editor/plugins
parentb18942d429c23112c3e01aa1649c1704eaf86d0d (diff)
downloadredot-engine-3b3e2374c9e5f73de76b353f3607c52b864d1e69.tar.gz
clang-tidy: Enforce `modernize-use-nullptr`
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/version_control_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/version_control_editor_plugin.cpp b/editor/plugins/version_control_editor_plugin.cpp
index a54ffd4ee8..9460f9fef2 100644
--- a/editor/plugins/version_control_editor_plugin.cpp
+++ b/editor/plugins/version_control_editor_plugin.cpp
@@ -464,7 +464,7 @@ void VersionControlEditorPlugin::_force_push() {
void VersionControlEditorPlugin::_update_opened_tabs() {
Vector<EditorData::EditedScene> open_scenes = EditorNode::get_editor_data().get_edited_scenes();
for (int i = 0; i < open_scenes.size(); i++) {
- if (open_scenes[i].root == NULL) {
+ if (open_scenes[i].root == nullptr) {
continue;
}
EditorNode::get_singleton()->reload_scene(open_scenes[i].path);