Replace std::size usage with std_size to avoid <iterator> include.

This commit is contained in:
Lukas Tenbrink
2025-10-03 20:02:38 +02:00
parent 6d33ad2917
commit 1db0a60dc0
40 changed files with 69 additions and 66 deletions

View File

@ -4190,7 +4190,7 @@ void Control::_bind_methods() {
StringBuilder builder;
builder.append(TTRC("Custom"));
builder.append(":-1");
for (size_t i = 0; i < std::size(anchors_presets); i++) {
for (size_t i = 0; i < std_size(anchors_presets); i++) {
builder.append(",");
builder.append(anchors_presets[i].name);
builder.append(":");