You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Remove uses of auto for better readability and online code reviews
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
This commit is contained in:
@@ -277,7 +277,7 @@ bool SceneTreeEditor::_add_nodes(Node *p_node, TreeItem *p_parent, bool p_scroll
|
||||
}
|
||||
|
||||
Ref<Texture2D> icon_temp;
|
||||
auto signal_temp = BUTTON_SIGNALS;
|
||||
SceneTreeEditorButton signal_temp = BUTTON_SIGNALS;
|
||||
if (num_connections >= 1 && num_groups >= 1) {
|
||||
icon_temp = get_theme_icon("SignalsAndGroups", "EditorIcons");
|
||||
} else if (num_connections >= 1) {
|
||||
|
||||
Reference in New Issue
Block a user