You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Merge pull request #111223 from Ivorforce/remove-iterator-include
Replace `std::size` usage with `std_size` to avoid `<iterator>` include.
This commit is contained in:
@@ -8467,7 +8467,7 @@ EditorNode::EditorNode() {
|
||||
default_layout->set_value(docks_section, "dock_5", "Inspector,Node,History");
|
||||
|
||||
int hsplits[] = { 0, 270, -270, 0 };
|
||||
DEV_ASSERT((int)std::size(hsplits) == editor_dock_manager->get_hsplit_count());
|
||||
DEV_ASSERT((int)std_size(hsplits) == editor_dock_manager->get_hsplit_count());
|
||||
for (int i = 0; i < editor_dock_manager->get_hsplit_count(); i++) {
|
||||
default_layout->set_value(docks_section, "dock_hsplit_" + itos(i + 1), hsplits[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user