mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Replace std::size usage with std_size to avoid <iterator> include.
This commit is contained in:
@@ -873,7 +873,7 @@ void AnimationNodeStateMachineEditor::_connection_draw(const Vector2 &p_from, co
|
||||
state_machine_draw->draw_line(p_from, p_from.lerp(p_to, p_fade_ratio), fade_line_color, 2);
|
||||
}
|
||||
|
||||
const int ICON_COUNT = std::size(theme_cache.transition_icons);
|
||||
const int ICON_COUNT = std_size(theme_cache.transition_icons);
|
||||
int icon_index = p_mode + (p_auto_advance ? ICON_COUNT / 2 : 0);
|
||||
ERR_FAIL_COND(icon_index >= ICON_COUNT);
|
||||
Ref<Texture2D> icon = theme_cache.transition_icons[icon_index];
|
||||
|
||||
Reference in New Issue
Block a user